Icacls %Systemroot%\System32\notepad.exe /grant '%username%':f Icacls %Systemroot%\notepad.exe /grant '%username%':f Takeown /f %Systemroot%\System32\notepad.exe If exist %Systemroot%\System32\ goto exist_notepad2_already
If exist %Systemroot%\ goto exist_notepad2_already TITLE Notepad2 Install Script for Complete Windows Vista and 7 Notepad ReplacementĮcho Notepad2 Install Script for Complete Windows Vista and 7 Notepad ReplacementĮcho Confirm to apply? (Press Ctrl-C and answer Y to terminate)
It's based on the original notepad2 installer script which worked well in Vista.