Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Batch file for renaming files
Name: Naveen Date: June 7, 2007 at 00:53:18 Pacific OS: Win XP CPU/Ram: p4 1 GB Product: Intel
Comment:
Hi, I require a simple batch file to run on cmd prompt which when run, would do a 'dir' on the current directory/specified directory and rename the files as follows:-
existing filename format - file_[1]_name.txt required filename format - file_name.txt
I'm not aware of the syntax for windows, so if anyone could help :-)
Summary: please i need help on making a batchfile for renaming files. On these case i need the 4-6 last characters of the original filename and using it prior to the characters that i need to use for the new f...
Summary: I did try them. Thank you. Also, I really need a bacth file for this request - purpose (per the title). I created several test scenarios. C:\test\folder1, C:\test\folder2, C:\test\folder3. I ran t...
Summary: Previous batch script from M2 ::== RENwDATE.bat :: ren w date @echo off > myfile :main call :y6 ren myfile myfile%DD%%MM%%YYYY% goto :eof :y6 :: get sys YMD into vars @echo off :: YYYY getter > syyyy....