Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 67,105 of 68,980    |
|    George H. Compton IV to George H. Compton IV    |
|    Re: timeout and sleep command in XP    |
|    30 Dec 17 14:52:11    |
      From: george_compton@hotmail.com              On Thursday, December 28, 2017 at 2:10:32 PM UTC-8, George H. Compton IV wrote:       > On Monday, July 20, 2009 at 6:07:02 AM UTC-7, Dragan wrote:       > > I need timeout or sleep command, but now I see that they're not listed       > > in command-line reference for Windows XP.       > > Is there any extension out there that can upgrade list of available       > > commands?       > >       > > cheers,       > >       > > Dragan       >       > timeout for Windows XP "batch file" or "Windows Command Script"!!! :)       > LOL ;) no ping!!!       >       >       >       >       > @echo off       > title XP-timeout-v4       >       > ver | find "XP" > nul       > if %ERRORLEVEL% == 1 timeout /t 03 && echo . Vista - 10 && goto NEXT       >       > set XP-timeout=3000       > echo . XP, 1000 = 1 sec, approximately       > set /a timeout=1       > :timer       > echo timeout timer number %timeout%       > if %timeout% == %XP-timeout% goto NEXT       > echo . XP, 1000 = 1 sec.       > set /a timeout=timeout+1       > goto timer       > :NEXT       > echo XP - 10, 3 sec       > pause       > EXIT              multiple timeouts, (set timer#=copy "XP-timeout.cmd") to the name of your CMD       or bat file!!              @echo off       title=XP-timeout-v4.1+              set timer#=copy "XP-timeout.cmd"              ver | find "XP" > nul       if %ERRORLEVEL% == 1 timeout /t 05 && goto next1       %timer#% "1"       set XP-timeout=5000       goto pretimer       :next1              ver | find "XP" > nul       if %ERRORLEVEL% == 1 timeout /t 02 && goto next2       %timer#% "2"       set XP-timeout=2000       goto pretimer       :next2              ver | find "XP" > nul       if %ERRORLEVEL% == 1 timeout /t 03 && goto next3       %timer#% "3"       set XP-timeout=3000       goto pretimer       :next3              echo WIN XP - 10, timeout       pause       exit              :pretimer       set /a timeout=1       :timer       echo timeout timer number %timeout%       if %timeout% == %XP-timeout% goto next       echo . XP, 1000 = 1 sec.       set /a timeout=timeout+1       goto timer       :next       if exist "1" del 1 && goto next1       if exist "2" del 2 && goto next2       if exist "3" del 3 && goto next3              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca