| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
Batch file to save date as part of file name
|
Original Message
|
Name: Dave Evans
Date: April 4, 2000 at 15:51:14 Pacific
Subject: Batch file to save date as part of file name
|
Comment: I would like to use a batch file to copy a file so that the new file includes the date: i.e. save file as Today's date + a space + Final the saved file would be named "04/04/2000 Final"
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: browser
Date: April 5, 2000 at 05:16:44 Pacific
|
Reply: DOS does not support the space in the filename. DOS does not support a filename with 16 characters (88888888.333 max.).
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: Malcolm Hunter
Date: April 6, 2000 at 03:53:57 Pacific
|
Reply: I had this problem. There are a couple of free dos utilities which will fix it. Strings.com (string25.zip) will split up the date fields and Aset.exe (advset14.zip) will enable you to construct a filename from that. I can't remember where I downloaded the from but they're out there.
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Disk Operating System Forum Home
Results for: Batch file to save date as part of file name
Want to use $DATE as logfile name.txt Summary: I want to use the date as part of the logfile naming convention in MS-DOS, here is an example ... 022502backuplog.txt I am running version 5.00, please help!?!?! ...
www.computing.net/answers/dos/want-to-use-date-as-logfile-nametxt/9373.html
a batch file to rename certain files Summary: Maybe someone on this site can help me. I need a batch file to rename files. The way it needs to work is: you open the batch file and it asks you to pick the kind of files you want renamed, (lets say ...
www.computing.net/answers/dos/a-batch-file-to-rename-certain-files/10372.html
Using a batch file to name a file with the system date. Summary: I am looking for a way to have a batch file create a file name using the system date. For example if I want to use a batch file to retrieve backup information from many servers and store that info in ...
www.computing.net/answers/dos/using-a-batch-file-to-name-a-file-with-the-system-date/3481.html