Jump to content

runwait command


Recommended Posts

I tried this:

RunWait("powercfg.exe" & "/change " & chr(34) & "home/office desk" & chr(34) & " /monitor-timeout-ac 5",,)

It does not work due to problem with quote marks I think.

I am trying to do this, which does work in a command window.. (powercfg /change "home/office desk" /monitor-timeout-ac 5)

I always have problems with quotes in my run command lines... Thanks for any hep provided!!! Jim

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...