|
|
Notepad++cmd有点小错误 正确的是- @echo off
- PUSHD %~dp0
- SET CurDir=%CD%
- PATH "%WINDIR%\SYSTEM32"
- reg add "HKCR\*\shell\Notepad++" /f /ve /t REG_SZ /d "使用Notepad++打开"
- reg add "HKCR\*\shell\Notepad++" /f /v "Icon" /t REG_SZ /d "%CurDir%\Notepad++.exe"
- reg add "HKCR\*\shell\Notepad++\Command" /f /ve /t REG_SZ /d ""%CurDir%\Notepad++.exe" "%%1""
- reg add "HKCR\Directory\shell\Notepad++" /f /ve /t REG_SZ /d "使用Notepad++打开"
- reg add "HKCR\Directory\shell\Notepad++" /f /v "Icon" /t REG_SZ /d "%CurDir%\Notepad++.exe"
- reg add "HKCR\Directory\shell\Notepad++\Command" /f /ve /t REG_SZ /d ""%CurDir%\Notepad++.exe" "%%1""
- EXIT
复制代码 |
|