ghetek Posted July 25, 2006 Posted July 25, 2006 RunWait(@ComSpec & " /c " & 'beyondexecv2 \\Robyn -u 00000 -p 00000 -d shutdown', "", @SW_HIDE) clipput('"' & @SystemDir & '\beyondexecv2" \\Robyn -u 00000 -p 00000 -d shutdown') Im trying to get this syntax right, the string that is given via the clipput works when i paste it into a command line window so why doesnt the runwait work?
MHz Posted July 25, 2006 Posted July 25, 2006 Try this as /k will keep the window open to see the error message if any. RunWait(@ComSpec & ' /k beyondexecv2 \\Robyn -u 00000 -p 00000 -d shutdown')
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now