Closed Sta1917 closed 2 months ago
mkdir.cmd
@echo off
set "ymd=%date:~,4%%date:~5,2%%date:~8,2%"
mkdir %~f1\%ymd%
menu config(v5.0+)
{
"title": "New Folder",
"exe": "F:\\mkdir.cmd",
"param": " \"{path}\"",
"icon": "C:\\WINDOWS\\System32\\SHELL32.dll,4",
"acceptDirectory": false,
"acceptDirectoryFlag": 7,
"acceptFile": false,
"acceptFileFlag": 0,
"acceptMultipleFilesFlag": 0,
"index": 0
}
Instead of C:\Users\Admin\Desktop returns C:\Users\Admin I tried "path" and "%~dp0"
In the old menu, the command works correctly
ContextMenuForWindows11 Version: 3.8.0 Windows 11 Pro Build 22621.ni_release.220506-1250