Jump to content

Recommended Posts

Posted

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?

Posted

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

Posted (edited)

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...