TIMEOUT only works in increments of whole seconds.
There are other third-party sleep executables that you can download.
Alternatively, you can use the Sleep method in VBScript. It takes values ββin milliseconds. Here is a simple example (save it to SLEEP.VBS or any other name):
ms = WScript.Arguments(0) WScript.Sleep ms
Then in your batch file, call it so that it lingers for 0.5 seconds:
CSCRIPT SLEEP.VBS 500
source share