petben Posted March 29, 2008 Posted March 29, 2008 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
Swift Posted March 29, 2008 Posted March 29, 2008 _RunDos()?How would a awesome girl know anything about AutoIt?
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