Sign in to follow this  
Followers 0
petben

exit command window at finish

3 posts in this topic

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

Share this post


Link to post
Share on other sites



_RunDos()?


My name is Leilani Swaey! :)

Share this post


Link to post
Share on other sites

_RunDos()?

How would a awesome girl know anything about AutoIt? :)

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