Options

Date/Time in a batch file

DevilsbaneDevilsbane Member Posts: 4,214 ■■■■■■■■□□
I'm writing a batch file, which I want to email to someone and have them run it. Once run, I want it to collect a bunch of information and save it to a file, and then copy that file to my computer.

One of the things I want is a date and time stamp at the bottom, but once the date command gets run, nothing else happens because the program is expecting me to enter a new date.

Is there another way around this, either a way to force the computer to skip that part or maybe a different command that gets me what I need?

Thanks
Decide what to be and go be it.

Comments

Sign In or Register to comment.