win10 是打开的powershell,但是不喜欢用,感觉权限没有cmd高
新建一个txt
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOTDirectoryshellcmdprompt] @="@shell32.dll,-8506" "Extended"="" "NoWorkingDirectory"="" [HKEY_CLASSES_ROOTDirectoryshellcmdpromptcommand] @="cmd.exe /s /k pushd "%V"" [HKEY_CLASSES_ROOTDirectoryBackgroundshellcmdprompt] @="@shell32.dll,-8506" "Extended"="" "NoWorkingDirectory"="" [HKEY_CLASSES_ROOTDirectoryBackgroundshellcmdpromptcommand] @="cmd.exe /s /k pushd "%V"" [HKEY_CLASSES_ROOTDriveshellcmdprompt] @="@shell32.dll,-8506" "Extended"="" "NoWorkingDirectory"="" [HKEY_CLASSES_ROOTDriveshellcmdpromptcommand] @="cmd.exe /s /k pushd "%V""
保存后改称reg后缀,运行
这样右键就有cmd和powershell两个了