Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
Create a filename with a timestamp
Name: Patrick Date: December 20, 2002 at 11:28:25 Pacific OS: 2000 CPU/Ram: P4 2.26GHz/512Mb
Comment:
I would like to create or rename a file in DOS. I need to programmatically change the filename so I thought that having a timestamp as the name would be an easy way to keep track of the file. Is there anyway to create a filename from a timestamp. Or as a workaround, is there a way to read text from a file and then append it to the filename. Thanks
Summary: I'm attempting to write a batch file and than use 'bat2exe' in order to create a COM file, have this executable be available on the desktop within a Win98 environment, have a user double click via the...
Summary: How to create a directory in DOS with its name as Month. It should pick from date, dynamically say if the date is 24-02-2009 it should create a directory by picking the month as "Feb" help me in this ...
Summary: I'd really appreciate if anyone could tell me how i can create a BATCH script that will take a list of all files in a directory, strip the extension off of each file, and then use the resulting filena...