How to add a timeout when running a batch script in windows recovery command prompt ?

H

HalfErmine86729

Without going into details, I need to run a batch script to copy all the files and folders from a failing ssd drive to another disk one file at a time. I am using below batch script but windows recovery mode command prompt is not recognizing timout as a valid command. How can I induce a sleep wait between each operation. for %%a in ("%source%\*") do ( xcopy "%%~fa" "%destination%" /y /w echo "copied" %%~fa timeout 2 > nul )Thank You

Continue reading...
 
Back
Top Bottom