E
E
Eugene Ordinary2016-10-08 15:58:25
cmd/bat
Eugene Ordinary, 2016-10-08 15:58:25

How to rename files in Windows using a mask?

There are 100500 oldname(n) files in the folder, where n is a number.
You need to rename all the files so that the oldname(n) file becomes
newname
-
n.txt these masks work.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dark Hole, 2016-10-08
@abyrkov

Try ren oldname(? newname?.txt

A
Alexander Taratin, 2016-10-08
@Taraflex

www.bulkrenameutility.co.uk/Command.php

O
Olgeir, 2016-10-10
@Olgeir

On pure CMD this can be done, but only if the length of the filename is constant or the length of the number n is constant.
Give examples of 3-4 file names, before and after.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question