script issue

  1. News

    Incorrect error code when you run a PowerShell script at a command prompt in Windows 7 or in Windows

    Fixes an issue in which the "echo %errorlevel%" command returns an incorrect error code. This issue occurs when you run the PowerShell script at the command prompt on a computer that is running Windows 7 or Windows Server 2008 R2. More...
  2. 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