Nov 7, 2011 08:16 AM
(This post was last modified: Nov 7, 2011 08:24 AM by ๖ۣۜLogic_Bomb.)
Hey Guys,
Just a quick application I made in pascal to allow you to use a 'Sleep' command within batch, to use it simply add
into your code, and make sure the file is kept in the directory that you are running the batch file from, or added to the system32 of the computer running the batch file, you could also package your batch into an EXE using 'BatchToExe Converter' and add the 'sleep.com' file to the includes when you compile so that it will be extracted and usable at runtime.
Here is an example script:
Here is a link to the Sleep file
Here is the virus scan (Click to View)
Here is a link to the virus scan
Here is a link to 'Batch to Exe'
Hope this is of some use to people, as I remember wishing I could do this back when I used Batch.
Regards,
UndrGrnd (AKA Logic_Bomb)
Just a quick application I made in pascal to allow you to use a 'Sleep' command within batch, to use it simply add
Code
sleep <milliseconds>into your code, and make sure the file is kept in the directory that you are running the batch file from, or added to the system32 of the computer running the batch file, you could also package your batch into an EXE using 'BatchToExe Converter' and add the 'sleep.com' file to the includes when you compile so that it will be extracted and usable at runtime.
Here is an example script:
Code
@echo off
set /a count=0
:loop
cls
echo %count%
sleep 1000
set /a count=%count%+1
goto loopHere is a link to the Sleep file
Here is the virus scan (Click to View)
Here is a link to the virus scan
Here is a link to 'Batch to Exe'
Hope this is of some use to people, as I remember wishing I could do this back when I used Batch.
Regards,
UndrGrnd (AKA Logic_Bomb)


![[Image: 8vvxbk8.jpg]](https://i.imgur.com/8vvxbk8.jpg)