|
|
|
batch script for renaming files
Monday, July 14, 2008 at 11:30 pm Windows Server 2003 Annoyances Discussion Forum
Posted by pirateye
(5 messages posted)
Hy! i have this "rename.bat" file:
for /f "tokens=1-7 delims=." %%d in ("%date%") do rename "c:\test.txt" %%d.%%e.%%f.txt
i run this script in windows xp and it works fine but under windows 2003 i got this
"The system cannot find the file specified."
why?
(every path is ok)
thank you all!
|
Responses to this message:
|
|
All messages in this thread [show all]
 | batch script for renaming files (pirateye: Mon, Jul 14, 2008, 11:30 pm) |
| |
| |
Return to the Windows Server 2003 Discussion Forum
|
|
|
|