Annoyances.org
Home » Windows Server 2003 Discussion Forum » Message 1216103436 Search | Help | Home
  
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:
*re: batch script for renaming files (appleoddity: Tuesday, July 15, 2008 at 9:12 pm)

All messages in this thread [show all]
-batch script for renaming files (pirateye: Mon, Jul 14, 2008, 11:30 pm)
-re: batch script for renaming files (appleoddity: Tue, Jul 15, 2008, 9:12 pm)
-re: batch script for renaming files (pirateye: Tue, Jul 15, 2008, 11:05 pm)
-re: batch script for renaming files (appleoddity: Wed, Jul 16, 2008, 6:11 am)
-re: batch script for renaming files (pirateye: Wed, Jul 16, 2008, 6:34 am)
-re: batch script for renaming files (appleoddity: Wed, Jul 16, 2008, 11:45 am)
-re: batch script for renaming files (pirateye: Wed, Jul 16, 2008, 2:29 pm)
-re: batch script for renaming files (appleoddity: Wed, Jul 16, 2008, 2:52 pm)
-re: batch script for renaming files (pirateye: Wed, Jul 16, 2008, 11:19 pm)
*re: batch script for renaming files (appleoddity: Thu, Jul 17, 2008, 6:25 am)
Return to the Windows Server 2003 Discussion Forum

All content at Annoyances.org is Copyright © 1995-2008 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.