Sign in to follow this  
Followers 0
ghetek

syntaxing

2 posts in this topic

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?

Share this post


Link to post
Share on other sites



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')

:whistle:

Share this post


Link to post
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
Sign in to follow this  
Followers 0