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

  • Thread starter Thread starter HalfErmine86729
  • Start date Start date
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