Discussion Locked

Create a file with the date as the name?

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a windows software from which I could create a log file. Is it possible to specify a file name with some dos command to get something like : log`date`.txt and the resulting filename will be : log20020619.txt

Thanks for your help

3 replies

by john_wills

I do this all the time in Works and Word. I have just saved a file with the name "Sick Leave 2002.06.20". I do not know how to call the Windows file-naming subroutine, but obviously one puts as parameter a constructed text, which might well include the date.

This discussion is closed to new replies.