Jump to content
Sign in to follow this  
DotJock

Running _RunDOS is Vista

Recommended Posts

DotJock

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?

Share this post


Link to post
Share on other sites
DotJock

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

Share this post


Link to post
Share on other sites
Mat

LOL

binary 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
EndIf

this code hasn't been tested, as I use winxp... could be interesting to see if it works!

Edited by mdiesel

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  

×