Search code examples
filenotepad++

Open all files in a folder using notepad++


I have to make a minor change in all the html files of my site. The files are stored in structure which is as below,

/Site
--2012
  --Jan
    --File1.html
    --File2.html
    --File3.html
    --File3.html
  --Feb
    --File1.html
    --File2.html

And so on..

There are files from 2006 stored in a similar fashion. Opening each of them manually is time consuming as there are hundreds of files.

Is there a easier way to do this using notepad++?


Solution

  • You can just simply drag the folder containing your site files into notepad++. It opens all files(I assume it just opens txt,html, and other compatible files) including ones in sub directories.

    Alternatively, if you want to do them one month at a time you could do File>Open and then shift+click from the top to the bottom to select as many files as you want.

    Or just use a better text editor like sublime text where you can just open entire folders