Jump to content

Chkdsk.exe


Recommended Posts

I would like to run a small script to execute check disk on a remote PC and write the log to the C: drive

From the command line I can run chkdsk.exe c: >c:\errors.txt, when I compile this line as an autoit script.

The AutoIT icon flashes rapidly and never executes.

I even tried with only one line of code and still the same results.

RunWait("chkdsk.exe c: >c:\errors.txt")

thanks

Edited by themush1326
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...