Jump to content

Sending variables with @Comspec


Recommended Posts

I'm trying to get the a variable to be sent right after "shutdown -s -t" but it only seems to send the part in quotes. 

I've been looking at @CmdLine but I can't seem to understand it or even if it  would help me achieve what i'm trying to do.

Also, I didn't know how to word the title of this post so hopefully it's not completely wrong.

RunWait(@ComSpec & " /k" & "shutdown -s -t" & $SDTs)
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...