Click to See Complete Forum and Search --> : Batch for renaming files


trinitro
June 4th, 2001, 12:54 PM
Is there a way to write a batch file that will rename files in a specific order? For example, let's say there are 100 files in a directory, with different names. I want to rename all of them starting from, let's say 1 to 100. The name is not that important, although I would like to be able to have some characters the same. Such as Drwg1, Drwg2 and such. I'm getting really tired of manually renaming all files. <IMG SRC="smilies/smile.gif" border="0">

MacGyver
June 4th, 2001, 12:56 PM
Try this utility: RenameIt (http://members.nbci.com/listerman/zipfiles/rname-it.zip). The options that this program has for renaming files is awesome, and the time it saves you is mind-boggling!

3fingersalute
June 4th, 2001, 08:41 PM
Without a program like mentioned above, the answer is No......or at least not to my knowlege....not through a batch file, there is no way to automate the renaming of mass filenames.

trinitro
June 5th, 2001, 03:16 PM
thanks,

I'll try that today....

Poseidon
June 5th, 2001, 04:46 PM
Originally posted by MacGyver:
<STRONG>Try this utility: RenameIt (http://members.nbci.com/listerman/zipfiles/rname-it.zip). The options that this program has for renaming files is awesome, and the time it saves you is mind-boggling!</STRONG>

Great program! Thanks for info MacGyver.

<IMG SRC="smilies/cool.gif" border="0">

Chosen One
June 6th, 2001, 09:00 AM
You may be able to create a Visual Basic Script file. It's what the latest virus writers are using. (.vbs) It was accually intended for creating quick ways to do administrative tasks for Windows NT about 2 years ago or so. You could create a spreadsheet of how ever many users you wanted, name, rights, etc. Import it into the script and run the script and it would be done for you automaticly. I think you can make a vbs file to rename files or folders. I just havn't done it in so long that I forgot how. You can go to Microsofts web page and look into the knowledge base docs as well as doing a search on their site to get more info.