batch file execute routine based on time

September 12, 2013 at 16:03:03
Specs: Windows 7
batch file to check time between 6 pm and 7 am
if time later than 6 pm but less than 7 am
run program1 else run program2
Thanks, Bob

See More: batch file execute routine based on time

Report •

#1
September 12, 2013 at 17:29:12
post the output of this:

@echo %TIME%

=====================
M2 Golden-Triangle


Report •

#2
September 13, 2013 at 07:49:43
Batch is ill equipped to do date/time math. Why not pick a different language?

How To Ask Questions The Smart Way


Report •
Related Solutions


Ask Question