Search found 4 matches

by adz
19 Jan 2010 15:17
Forum: DOS Batch Forum
Topic: AT command help
Replies: 5
Views: 6820

Yes that works!!! Great! I changed those little things in first your example and this is the result: @echo off cls set timetorun=21:00 :loop if "%time:~0,5%"=="%timetorun%" goto :process rem Delay for 30 seconds ping localhost -n 31 >nul goto loop :process start program-of-your-c...
by adz
19 Jan 2010 14:46
Forum: DOS Batch Forum
Topic: Need to create a 60 minutes delay in my DOS script
Replies: 9
Views: 14094

avery_larry wrote:
adz wrote:I always use:

ping localhost -n * >nul

* = the seconds you want to delay


Technically, * should be the number of seconds you want to delay PLUS ONE.


Ok, on second thought, I saw you using that in one of your examples but never gave attention to it. Thanks for this tip. :)
by adz
18 Jan 2010 17:35
Forum: DOS Batch Forum
Topic: Need to create a 60 minutes delay in my DOS script
Replies: 9
Views: 14094

I always use:

ping localhost -n * >nul

* = the seconds you want to delay
by adz
18 Jan 2010 17:25
Forum: DOS Batch Forum
Topic: AT command help
Replies: 5
Views: 6820

Nice solution for this problem. But I have some questions about it. First an addition, you need to place " before and after the variabels. ("%time%") But the time is displayed like this: 21:00:00,00 So when the pc compares the 'timetorun' with the real time it isn't the same because t...