Archive for the ‘Notepad’ Tag

Notepad2

If you are a Windows user, by choice, by fate or by any other way, then you must be aware of the notepad application –  a very handy tool for any computer user. But honestly speaking, notepad has a very limited set of features and functionalities and is not that useful when it comes to advanced text editing. Users generally tend to switch to wordpad or ultraedit for more advanced text editing. But this comes at a cost of losing their traditional notepad and the ease with which it could be accessed (Win + R, notepad).

For me, Notepad2 offered a perfect solution/replacement for notepad. Its a freeware and can be downloaded easily and in a few simple steps (listed below) it can replace the traditional notepad on your Windows operating system. Notepad2 comes with a rich set of features:

  • Customizable syntax highlighting: HTML, XML, CSS, JavaScript, VBScript, ASP, PHP, CSS, Perl/CGI, C/C++, C#, Java, VB, Pascal, Assembler, SQL, Python, NSIS, INI, REG, INF, BAT, DIFF.
  • Drag & drop text editing inside and outside Notepad2.
  • Basic regular expression search and replace.
  • Useful word, line and block editing shortcuts.
  • Rectangular selection (Alt+Mouse).
  • Brace matching, auto indent, long line marker, zoom functions.
  • Support for Unicode, UTF-8, Unix and Mac text files.
  • Open shell links.
  • Mostly adjustable.
  • Auto indentation.
  • Bracket matching.
  • Encoding conversion between ASCII, UTF-8 and UTF-16 formats.
  • Multiple undo/redo; rectangular block selection.
  • Newline conversion, between DOS (CR/LF), Unix (LF) and Mac (CR) formats.

Other variations and extensions of notepad2 also exist that add further functionalities.

Talking about replacing notepad with notepad2, the following steps worked for me on Windows Vista:

  • Download and extract Notepad2.
  • Rename Notepad2.exe to notepad.exe.
  • Find %windir%\notepad.exe and %windir%\system32\notepad.exe and set the owner to ‘Administrators’.
    • Right click on notepad.exe
    • Select Properties
    • Select Security tab
    • Click on Advanced
    • Select Owner tab
    • Click Edit
    • Select the Administrators group in the Change owner to list
    • Close all dialogs with OK
  • Find %windir%\notepad.exe and %windir%\system32\notepad.exe and grant ‘Administrators’ full control.
    • Right click on notepad.exe
    • Select Properties
    • Select Security tab
    • Click on Edit
    • Select the Administrators group in the Group or user names list
    • Activate the Full control Checkbox in the Permissions for Administrators list
    • Close all dialogs with OK
  • Optionally, if you want to preserve the original notepad, rename notepad.exe to notepad-original.exe (or any other name) in %windir% and %windir%\system32.
  • Copy paste the renamed notepad2.exe to %windir% and %windir%\system32.

For Windows XP, try the following steps:

  • Download and extract Notepad2.
  • Rename Notepad2.exe to notepad.exe.
  • Change Explorer view options to show system files (Tools->Folder Options->View uncheck Hide protected operating system files).
  • Optionally, if you want to preserve the original notepad, create a backup of the original notepad.
  • Copy paste the renamed notepad2.exe to %windir%\system32\dllcache, %windir%\system32 and %windir%  in the specified order.
  • Recheck Hide protected operating system files in the Folder Options dialog box.