1.

Solve : Batch File Using Computer Time Stamp?

Answer»

I have a BATCH file that runs a program and I need it to select the systems date, so I do not have to put the date in everytime.

I want it to look at the systems CLOCK and then run, it will be grabing data and placing the data in a log file but it needs to USE the CURRENT date.  So If I run it on 10-06-06 it will know the data it grabs is associated with that date.  Like wise if it is run on 10-07-06 then it will associate it with the 7TH and so on.

Thank you in advance.date /t >>log.txt



Discussion

No Comment Found