Monday 25 February 2019

windows - How to open Command Prompt in a specific folder as Administrator?


I made a shortcut to cmd.exe and specified the folder that I want to start in. I then went to Advanced and ticked Run as administrator.


When I double-click on the shortcut, it always starts in C:\Windows\System32.


What I am missing? How can I get the command line to start in the folder specified?


shortcut properties


the prompt, in System32



Answer



In the target you should specify cmd /k cd c:\crp


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...