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.
Rename Files in NT DOS shell
Name: Andrew Date: January 29, 2001 at 07:35:44 Pacific
Comment:
Help!
I've got a simple file rename problem that would be easy in UNIX, and I think there is a DOS command for this, but I can't find it. I wish to rename many files with the same prefix. I want to remove the existing prefix and replace it with a shorter prefix.
For example, a file named "accomack_codes.dbf" which I want to change to "acco_codes.dbf" (along with all the other files starting with "accomack").
If I type "rename accomack_*.dbf acco_*.dbf" I get a file named "acco_ack_codes.dbf" when I want a file named "acco_codes.dbf".
Name: Alfred Dixon Date: March 26, 2002 at 05:55:36 Pacific
Reply:
I would like to rename a file using the "copy" command. However, I would like to append the date to the destination file name. For example, I would like the following results: copy apple.out apple.out
Is there anyway to append the date lto a filename in DOS? Help!!!
Thanks!
0
Response Number 2
Name: Alfred Dixon Date: March 26, 2002 at 05:59:09 Pacific
Summary: I am trying to rename files as they are generated in a sub-directory on NT. From FILENAME.txt --> FILENAME-yymmdd-nnnn.dat The nnnn is reset each day. Anyone with a solution for this ? ...
Summary: I need to know if there is a tool available that will allow me to replace files in NT. For example in win95/98 u could replace dlls by pressing F* before windows starts and just replace the file, is t...