Xcopy Plugins '%allusersprofile%\Npackd\Config\\Plugins' /E /C /I /F /H /R /Y >. Npackd\Uninstall.bat: rmdir /s /q '%allusersprofile%\Npackd\Config\' Npackd\Output.txtįor %%g in (txt log ini h hpp hxx c cpp cxx cc m java cs pas inc html htm php phtml properties js jsp asp css xml sh bsh nsi nsh lua pl pm py as mx vb vbs f for f90 f95 f2k tex sql nfo mak hgignore) do reg add HKLM\SOFTWARE\Classes\.%%g\OpenWithList\%key% /f >. Reg add HKLM\SOFTWARE\Classes\Applications\%KEY%\shell\open\command /d '%c%' /f >. Reg add HKLM\SOFTWARE\Classes\Applications\%KEY%\shell\open /v FriendlyAppName /d 'Notepad++ (%version%)' /f >. If %errorlevel% neq 0 exit /b %errorlevel% Npackd\Output.txtįor /f 'delims=' %%x in ('dir /b *.exe') do set setup=%%x
Npackd\Install.bat: xcopy '%allusersprofile%\Npackd\Config\'.