Microsoft
Software
Hardware
Network
Question : How do I create a text file?
I would like to create a text file each new day such that the text file is named like this: C:\Logs\YYYY-MM-DD.txt.
So today's text file should look like C:\Logs\2010-06-28.txt.
I will hook this batch/script to Task Scheduler so the part I need help with is the actual batch file. An actual script I can run would be appreciated it. Thanks.
Answer : How do I create a text file?
for /f "tokens=1,2,3 delims=/ " %%a in ('DATE /T') do set date=%%c-%%b-%%a
echo > c:\logs\%date%.txt
Random Solutions
HiJackThis file review
regular expression 1-100 and decimals
SQL UPDATE Script Help needed.
Correct black setting in Illustrator for offset printer
Concatenate word and the memo field on the report
Cannot delete these folders.
trying to write an if/else statement can someone clean this up..doesnt work...
Tables within a form
Image on monitor does not fill screen
How do I uninstall Symantec Backup Exec 11d in Windows Server 2003??