یادداشت های شخصی 🕊️

راه در جهان یکیست و آن راه راستی است، KEEP IT SIMPLE ذهن های آرام موفق‌تر اند

یادداشت های شخصی 🕊️

راه در جهان یکیست و آن راه راستی است، KEEP IT SIMPLE ذهن های آرام موفق‌تر اند

Add Command Prompt to the Context menu

پنجشنبه, ۳ فروردين ۱۴۰۲، ۰۲:۱۳ ب.ظ

Method 1
This method creates a new menu item named “Open command window here” by adding the necessary context menu registry entries.

Open Notepad.
Copy the following lines and paste them in Notepad

 

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\cmdprompt]
@="@shell32.dll,-8506"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\cmdprompt\command]
@="cmd.exe /s /k pushd \"%V\""

[HKEY_CLASSES_ROOT\Directory\Background\shell\cmdprompt]
@="@shell32.dll,-8506"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\Background\shell\cmdprompt\command]
@="cmd.exe /s /k pushd \"%V\""

[HKEY_CLASSES_ROOT\Drive\shell\cmdprompt]
@="@shell32.dll,-8506"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Drive\shell\cmdprompt\command]
@="cmd.exe /s /k pushd \"%V\""

Save the file as “cmdhere.reg“
Double-click the file to apply the settings to the registry.

 

https://www.winhelponline.com/blog/cmd-here-windows-10-context-menu-add/

موافقین ۰ مخالفین ۰ ۰۲/۰۱/۰۳