cmd execution

About this tag
Discussions tagged with 'cmd execution' on WindowsForum.com cover practical issues encountered when running batch files and command-line scripts on Windows. A recurring theme is troubleshooting errors in batch scripts, such as the 'Sleep is not recognised' error, which often arises when the Sleep.exe utility is not in the system PATH or is missing. Users share solutions for ensuring external executables are accessible, adjusting script logic, and handling file operations like taking ownership, renaming, and deleting files. These threads provide real-world fixes for common cmd execution problems, helping users debug and optimize their batch files for tasks like system maintenance and automation.
  1. Elmer

    Windows 7 "Sleep is not recognised" etc. Error in Batch File

    I have a batch file that I use to: Create a restore point, then swap out my modified system files. I store the "Sleep.exe" file in the same folder as the batch file. The script goes something like: echo Please wait while a Restore Point is made. sleep 17 Take ownership,Rename Replace, Blah...
Back
Top