dolodobendan wrote: 
> Thanks, I didn't know that! Is it possible to open cmd with admin rights
> this way, too?

I don't know of any direct way, unfortunately. Even the Ctrl+Shift
modifier that works from the Run-box (Win+R) doesn't work here.

But if you really want it you can built it on your own:

1) In general, you can enter any program plus arguments in explorer's
address bar and explorer will start it with the current path as the
working directory. If you don't want to prefix the program name with the
full path it must be located in a path mentioned in the PATH environment
variable.

2) Pick a way to run an elevated command prompt according to answers
from 'here' (https://stackoverflow.com/q/19098101). For example, if you
enter

Code:
--------------------
    powershell.exe -Command "Start-Process cmd \"/k cd /d %cd%\" -Verb RunAs"
--------------------
 in the explorer's address bar, it'll open a cmd prompt as admin in the
current folder.

3) Now combine 1+2 and create a batch file for the command and put it in
a path of the PATH variable or add it's path to the PATH variable.


------------------------------------------------------------------------
reinholdk's Profile: http://forums.slimdevices.com/member.php?userid=36070
View this thread: http://forums.slimdevices.com/showthread.php?t=110444

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to