CARVIEW |
Navigation Menu
-
Notifications
You must be signed in to change notification settings - Fork 108
Help
To use an icon from an EXE or DLL file, specify the path and index number:
"C:\Program Files\7-Zip\7zFM.exe",0
C:\WINDOWS\System32\SHELL32.dll,196
Note: Change a folder icon and open
desktop.ini
(hidden) in the folder to find the index number. More information can be found here.
To use an icon file, specify the path to the .ico
file:
"C:\Users\user\icons\icon.ico"
To run an executable or script, specify the path:
# EXE
"C:\Program Files\7-Zip\7zFM.exe"
# Environment variables are supported
"%LocalAppData%\Programs\Microsoft VS Code\Code.exe"
# Script
newFolder.bat
To run a store app, use the following format:
# Format
shell:AppsFolder\<Package Name>_<Publisher ID>!<App ID>
# Example: WindowsTerminal
shell:AppsFolder\Microsoft.WindowsTerminal_8wekyb3d8bbwe!App
# With parameters
start "" shell:AppsFolder\Microsoft.WindowsTerminal_8wekyb3d8bbwe!App new-tab -p "cmd"
To use URI protocols, specify the exe
and param
:
# Simple
"exe": "quick-look://",
# With parameters
"exe": "explorer",
"param": "quick-look://\"{path}\"",
The param template will be processed and passed to the [exe].
"{path}"
If you right-click on the C:\test\MpDlpCmd.exe
{path} --> C:\test\MpDlpCmd.exe
"{path}" --> "C:\test\MpDlpCmd.exe"
cmd.exe /s /k pushd "{path}" --> cmd.exe /s /k pushd "C:\test\MpDlpCmd.exe"
a -ad "{parent}\{nameNoExt}.7z" "{path}" --> a -ad "C:\test\MpDlpCmd.7z" "C:\test\MpDlpCmd"
{path}: file absolute path
{parent}: file parent path
{name}: file name (single file only)
{nameNoExt}: file name without extension (single file only, version >= 5.0)
{extension}: file extension (single file only, version >= 5.0)
Match all files (not folders).
Contains file extension:
* --> all
.apkx .mapk --> xx.apk or xxx.apkx
empty --> all
Regex for file name:
.+?\.txt
Debug regex: regex101
Must use |
as delimiter:
.apkx|.apk --> xxx.apkx or xxx.apk
.cpp|.java --> xx.java or xx.cpp
Directory/desktop/directory background/drive (v5.5+)
Right-click on directory only.
Right-click on desktop (right-click on the explorer left tree desktop: bug).
Right-click on directory background.
Right-click on drive.
Two modes are supported:
- EACH: Execute [exe] on each path.
- JOIN: Execute [exe] only once.
Note: When [Multiple Files] is turned on, extension matching and folder matching are ignored.
For each file, pass [param] to [exe], same as single file.
All paths will be connected according to the configuration, then as {path}.
If 2 files are selected: path1.txt path2.txt
, --> "path1","path2"
: --> "path1":"path2"
',' --> "path1"','"path2"
Note: Every path will be surrounded by quotes.
When multiple files are selected, the [Param] may be different. So, the [Param] can be overwritten here:
multipleParam: -noexit -Command Get-FileHash -LiteralPath \"{path}\" -Algorithm MD5 | format-list
delimiter: \",\"
Example:
-noexit -Command Get-FileHash -LiteralPath \""C:\Users\test\Desktop\tftpd32.ini"\",\""C:\Users\test\Desktop\run.bat"\" -Algorithm MD5 | format-list
{parent}: file parent path
{path}: file name (single file only, version >= 5.7)
Menus load faster when cache is enabled. Turn it off and on again to reset the cache.
Use customeContextMenuDebug.exe
to show param. See JSON: Debug Echo.
C:\Users\yourname\AppData\Local\Packages\{appId}\LocalState\custom_commands
If you need to back up, just copy all the files here to a safe folder.