-
-
Save vivekwebm2020/999a18628136f36fbecb6d972c88b5a7 to your computer and use it in GitHub Desktop.
Useful developer Windows right click items (context menu)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\Command Prompt *] | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\Command Prompt *\command] | |
@="cmd.exe /s /k pushd \"%V\"" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
; Created by: Shawn Brink | |
; Created on: December 30th 2016 | |
; Tutorial: https://www.tenforums.com/tutorials/73649-copy-path-add-context-menu-windows-10-a.html | |
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\windows.copyaspath] | |
"CanonicalName"="{707C7BC6-685A-4A4D-A275-3966A5A3EFAA}" | |
"CommandStateHandler"="{3B1599F9-E00A-4BBF-AD3E-B3F99FA87779}" | |
"CommandStateSync"="" | |
"Description"="@shell32.dll,-30336" | |
"Icon"="imageres.dll,-5302" | |
"InvokeCommandOnSelection"=dword:00000001 | |
"MUIVerb"="@shell32.dll,-30329" | |
"VerbHandler"="{f3d06e7c-1e45-4a26-847e-f9fcdee59be0}" | |
"VerbName"="copyaspath" | |
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\CopyAsPathMenu] | |
@="{f3d06e7c-1e45-4a26-847e-f9fcdee59be0}" | |
HOW TO INSTALL
1- install rimraf with the following command
npm install rimraf -g
2- create a file named as delete.bat
and copy the below contents. Then move it to c:\windows\system32\
3- run fast-delete.reg file to import to your registry.
delete.bat
@ECHO OFF
ECHO.
ECHO %CD%
ECHO.
ECHO Are you sure to delete the folder with RimRaf?
PAUSE
SET FOLDER=%CD%
CD /
rimraf "%FOLDER%"
rem DEL /F/Q/S "%FOLDER%" > NUL
rem RMDIR /Q/S "%FOLDER%"
EXIT
fast-delete.reg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\Delete with Rimraf\command]
@="cmd /c \"cd %1 && delete.bat\""
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\Dotnet Run *\command] | |
@="cmd /s /k dotnet build \"%V\"" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\Dotnet Restore *] | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\Dotnet Restore *\command] | |
@="cmd /s /k dotnet restore \"%V\"" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\SystemFileAssociations\.csproj\shell\Run Csproj\command] | |
@="cmd /s /k dotnet run --project \"%1\"" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\Dotnet Run *\command] | |
@="cmd /s /k dotnet run \"%V\"" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\Run Angular *] | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\Run Angular *\command] | |
@="cmd /s /k npm start -prefix \"%V\"" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
; Open files | |
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code] | |
@="Edit with VS Code" | |
"Icon"="C:\\Users\\alper\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe,0" | |
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command] | |
@="\"C:\\Users\\alper\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe\" \"%1\"" | |
; This will make it appear when you right click ON a folder | |
; The "Icon" line can be removed if you don't want the icon to appear | |
[HKEY_CLASSES_ROOT\Directory\shell\vscode] | |
@="Open Folder as VS Code Project" | |
"Icon"="\"C:\\Users\\alper\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe\",0" | |
[HKEY_CLASSES_ROOT\Directory\shell\vscode\command] | |
@="\"C:\\Users\\alper\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe\" \"%1\"" | |
; This will make it appear when you right click INSIDE a folder | |
; The "Icon" line can be removed if you don't want the icon to appear | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\vscode] | |
@="Open Folder as VS Code Project" | |
"Icon"="\"C:\\Users\\alper\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe\",0" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\vscode\command] | |
@="\"C:\\Users\\alper\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe\" \"%V\"" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\* Powershell\command] | |
@="PowerShell Start-Process PowerShell '-noexit -command Set-Location -literalpath ''%V''' -Verb RunAs" | |
[HKEY_CLASSES_ROOT\Directory\shell\* Powershell\command] | |
@="PowerShell Start-Process PowerShell '-noexit -command Set-Location -literalpath ''%V''' -Verb RunAs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\Pull From GitHub *\command] | |
@="cmd /s /k git pull origin" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment