DotJock Posted April 13, 2009 Share Posted April 13, 2009 Has anyone had success in running the _RunDOS command in Vista. I run it in XP to get the results of netstat -a command but it does not seem to work on Vista. Anyone tried this? Link to comment Share on other sites More sharing options...
BinaryBrother Posted April 13, 2009 Share Posted April 13, 2009 Put #RequireAdmin at the top of you script... SIGNATURE_0X800007D NOT FOUND Link to comment Share on other sites More sharing options...
DotJock Posted April 14, 2009 Author Share Posted April 14, 2009 Thank you. It runs great in Vista. Now in XP, its stuck in a loop asking me what user account I want to run under but thats okay. Ill just have an XP version and a Vista version. Sorry I didnt see the #RequireAdmin help before. Thanks again for pointing it out. Link to comment Share on other sites More sharing options...
Mat Posted April 14, 2009 Share Posted April 14, 2009 (edited) LOLbinary brother nd I have been through this before, try putting it in an if test:If Regread ("HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System", "ConsentPromptBehaviorAdmin") <> 0 Then #RequireAdmin EndIfthis code hasn't been tested, as I use winxp... could be interesting to see if it works! Edited April 14, 2009 by mdiesel AutoIt Project Listing Link to comment Share on other sites More sharing options...
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