2025年5月14日 星期三

Regedit 於右鍵選單中第一個項目 增加"建立新資料夾"功能

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\建立新資料夾]

"Position"="top"

"SeparatorAfter"=""

"Icon"="%SystemRoot%\\system32\\shell32.dll,172"


[HKEY_CLASSES_ROOT\Directory\Background\shell\建立新資料夾\command]

@="cmd.exe /c md \"新資料夾\""








Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\建立時間命名資料夾]

@="建立時間命名資料夾"

"Icon"="%SystemRoot%\\System32\\imageres.dll,3"

"Position"="Top"

"SeparatorAfter"=""


[HKEY_CLASSES_ROOT\Directory\Background\shell\建立時間命名資料夾\command]

@="powershell -NoProfile -WindowStyle Hidden -Command \"New-Item -Path '.' -Name (Get-Date -Format 'yyyyMMdd_HHmmss_fff') -ItemType Directory\""





年分以民國顯示

@="powershell -NoProfile -WindowStyle Hidden -Command \"New-Item -Path '.' -Name (((Get-Date).Year - 1911).ToString()+ (Get-Date -Format 'MMdd_HHmmss_ff')) -ItemType Directory\""



沒有留言:

張貼留言