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.
Renaming a file with a datestamp
Name: v9001715 Date: February 7, 2005 at 06:43:33 Pacific OS: Win xp CPU/Ram: Pentium
Comment:
Hello, Im trying to rename a file using a batch file appending to it the current date e.g. test.txt -> test07/02/2005.txt. My initial thought was to do the following -
set timestamp=%DATE% ren c:\test.txt test%timestamp%.txt The second line results in a syntax error. Any help would be greatly appreciated.
Summary: I'm almost there but not quite. When using DOS on WindowsXP the date is represented as follows: i.e. Sat 05222004 My batch program is suposed to rename a file with the current date. However I get a ...
Summary: I have a file (123.jpg) in a folder (abc) and i need to rename the file with the folder name (abc.jpg). Is this possible with a batch file assigned to right button of mouse? 1234567890 ...
Summary: Hi, I am having problems sharing files between a mac powerbook and my pc, I am using a standard crossover cable. I am Internet through a shared connection the conection enters my pc and then is shared...