Jump to content

exit command window at finish


Recommended Posts

my autoit script to run a dos command as an admin:

Run(@COMSPEC & " /c psexec -u ""administrator"" -p ""password"" -w ""C:\Program Files\Network Stumbler"" ""C:\Program Files\Network Stumbler\netstumbler.exe""")

works really well but the dos window remains open, can I run an additional line that will close the dos window. I have tried another Run(@COMSPEC......) with EXIT in it but it doesn't work. I assume this will open (and immediately close) a new dos window.

Thanks 4 any help

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