User Tools

Site Tools


microsoft:desktop:win_8:adm_cmd_anywhere

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
microsoft:desktop:win_8:adm_cmd_anywhere [2016/11/05 10:36] rpleckomicrosoft:desktop:win_8:adm_cmd_anywhere [2016/11/05 10:37] (current) – external edit 127.0.0.1
Line 7: Line 7:
 2. In that new key, create a new string value called ''NoWorkingDirectory''. Leave the value data field blank. Now create a new key into ''HKEY_CLASSES_ROOT\Directory\shell\runas'', called ''command''. Double-click the key's default value, enter the following text, and click OK: 2. In that new key, create a new string value called ''NoWorkingDirectory''. Leave the value data field blank. Now create a new key into ''HKEY_CLASSES_ROOT\Directory\shell\runas'', called ''command''. Double-click the key's default value, enter the following text, and click OK:
  
-''cmd.exe /k "pushd %L && title Command Prompt"''+  cmd.exe /k "pushd %L && title Command Prompt"
  
 3. Go to ''HKEY_CLASSES_ROOT\Drive\shell'' and create a new key called ''runas''. After you create the key, double-click the Default String, and give it the value ''Open Administrator Command Prompt Here''. 3. Go to ''HKEY_CLASSES_ROOT\Drive\shell'' and create a new key called ''runas''. After you create the key, double-click the Default String, and give it the value ''Open Administrator Command Prompt Here''.
microsoft/desktop/win_8/adm_cmd_anywhere.1478342184.txt.gz · Last modified: 2016/11/05 10:36 by rplecko