comment blocks of code with notepad++

I love notepad++ its a great text and script editor (other than powershell I still like ISE better) I needed to comment out a bunch of lines from a logon batch file and didn’t’ want to do it?line by line. With notepad++ its a two step process

  1. Select the block of code

    English: Icon for Notepad++
    English: Icon for Notepad++ (Photo credit: Wikipedia)
  2. Ctrl-Q

done! you need to have the file saved as the script type, in my example it would be .bat

Here’s a site with a list of 13 additional tips for notepad++


What’s your favorite notepad++ tip, leave it in the comments below


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.