Jump to content

Search the Community

Showing results for tags 'command-line arguments'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
    • General Discussion
    • Introduction
  • WinCert Member Projects
    • Win Toolkit
    • HeiDoc.net Projects
    • Windows Post-Install Wizard (WPI)
    • WPI, nLite and RVM Addons
    • DX WinNT6.x True Integrator
    • Switchless installers
    • XP Theme Source Patcher
    • OS Transformation Packs
    • Installer Repacks
  • WinCert.net International
    • WinCert.net Turkish
    • WinCert.net Italian
    • WinCert.net French
    • WinCert.net Spanish
    • WinCert.net Dutch
    • WinCert.net German
  • Microsoft Operating Systems and Software
    • Microsoft Windows
    • Microsoft Windows Server Family
    • Microsoft Office
    • Tips and Tricks
  • News, Support, Discussion
    • Software Field
    • Hardware Field
    • Networks and Security Field
    • Games Hangout
    • Scripting and Programming
    • Drivers Field
  • The Design Art Forum
    • Graphics Showcase
    • Windows Customization
    • Web Design/Hosting/Administering
  • Miscellaneous
    • Site and Forum Issues

Calendars

  • Community Calendar

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. I have used various versions of Kel's UberPack for several years. One of its features I have enjoyed most is "Run with Arguments" in the context menu. There are several registry entries for RunARG. One example is: Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\batfile\shell\Run With Arguments][HKEY_CLASSES_ROOT\batfile\shell\Run With Arguments\command]@="\"C:\\Windows\\system32\\RunArg.exe\" %1" What I'd like to do is create a shell extension to "Run with Arguments (as Admin or Elevated)" I found the following command-line. runas /user:REQUIREDUSERNAME /savecred C:\Windows\System32\RunARG.exeI guess /savecred is supposed to make it ask for admin password on the first run only. Does anyone know how this might be used to edit the context menu item so it can be run with elevated privileges? Does anyone know if that command-line will work using the %USERNAME% variable?I considered checking the Run as Administrator box in the executable's Compatibility properties, but then I'd be nagged by UAC every time I use RunARG. Using runas with /savecred would be most unobtrusive, if it can be made to work in the context menu. (I don't currently have any virtual machines to try this out on, so I just figured I'd put the question to the group.)
×
×
  • Create New...