Cynosure.X International LLC


Add Comment | Related Links | TrackBack
Related Content

Run As Administrator (GPL)

"RunAsAdministrator.cmd" is Windows batch program that elevates a script or program to admin level. This script does the same thing as you right-clicking on a program and select "Run as administrator", except it allows you to do it from the command-line or within a batch script.

"RunAsAdministrator.cmd" takes advantage of the following batch files. They are also available on this web site. So to use "RunAsAdministrator.cmd", you'll have to download these other batch scripts, if you don't already have them.


"RunAsAdministrator.cmd" is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site. If you make changes to this batch file, please feel free to upload it back here to share it with others.


  "RunAsAdministrator.cmd" "program" [ "arg 1" . . . "arg N" ]

Chieh Cheng
Sat, 06 Dec 2014 05:33:47 +0300

Looks like I forgot to attach the batch script. It is now attached below.

Attached File: RunAsAdministrator.cmd (1 KB)

Chieh Cheng
Sat, 25 Jul 2015 23:33:56 +0400

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.


TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

Title: Has Administrator Privilege (GPL)
Weblog: Cynosure.X International
Excerpt: "HasAdminPrivilege.cmd" is a Windows batch program that can helps you determine whether your script is running as administrator or not. "HasAdminPrivilege.cmd" outputs 1 (for true) when it is running with admin privilege. Otherwise, it outputs 0 (for false). "HasAdminPrivilege.cmd" takes advantage o . . .
Tracked: Sat, 06 Dec 2014 05:45:52 +0300

Add Comment

Spam Control | * indicates required field
Your Name: *
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 1 - 7?
Click button only once, please!

Messages, files, and images copyright by respective owners.

Products | Services
Forums | Latest | RSS
Library | Search | Wiki
Help | Licenses

Login | Register

34 Users Online

Hacking Digital Cameras
Fun for Photographers

Amazon Associate

Copyright © 1996 - 2018. All Rights Reserved.