| 1. |
Solve : unsure how to execute this timed batch? |
|
Answer» I plan to place a shortcut to my streamrecorder in my startup folder so it RUNS when windows starts. how would i structure my batch so it runs when windows starts but only if its between 7:00 pm and 9:00 pm. I don't want to use scheduler because if there'a a power cut at say 6:58 and power returns at 7:02 i want my stream recorder to still kick in. Any ideas guys. runnin XP by the way. Here's the info u asked for 1:53:45.32. I use the 12 hour clock format. no 'am' or 'pm'? ok i re-entered the echo %time% at 8:28 pm, i got 20:26:22.00So, this is what you want. echo off set tme=%time::=% if %tme% GEQ 190000.00 if %tme% LEQ 210000.00 start streamrecorderthanks guys will give it a shot. HaxxxIf it doesn't work, remove the .00 from the if commands. |
|