Command Prompt with Addmin

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
sparks79
Posts: 21
Joined: 27 Jan 2008 01:29

Command Prompt with Addmin

Post by sparks79 »

Could some Kind Person Please tell me How to Create a Shortcut in the Tool Bar to Run The Command Prompt as Administrator

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Command Prompt with Addmin

Post by highend »

Use this as a script:

Code: Select all

opencommandprompt , 3:=1;
for a user defined button in the toolbar
One of my scripts helped you out? Please donate via Paypal

sparks79
Posts: 21
Joined: 27 Jan 2008 01:29

Re: Command Prompt with Addmin

Post by sparks79 »

Thanks ( highend ) This Works Like a Charm.
Now I just have to figure out How to Ad an icon for it.
Just one more Related Question.
I Reinstall Windows 10 a lot ( Testing etc ), and it would be nice to be able to Save this Shortcut .
So each time I reinstall windows and Xyplorer, I can Save some time and Insert this Shortcut to Command Prompt as Admin, Without having to Create it Again.

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Command Prompt with Addmin

Post by highend »

When you edit the user defined button it has an extra field just for the icon
and it would be nice to be able to Save this Shortcut
Just backup your XYplorer data folder and restore it back after you've installed from scratch?
One of my scripts helped you out? Please donate via Paypal

sparks79
Posts: 21
Joined: 27 Jan 2008 01:29

Re: Command Prompt with Addmin

Post by sparks79 »

Thanks ( highend ) , ll Your Advice was Very Helpfull.
I will be Applying those Changes in my Next Install.Thanks once again

Post Reply