20

i.e. todo.txt, medical.txt, etc.

I looked at XML files in C:\Program Files\Notepad++, but to no avail.

1
  • I have the same question. I have the portable app Notepad++. Apr 6, 2016 at 11:44

6 Answers 6

23
%APPDATA%\notepad++\config.xml

or perhaps

%APPDATA%\notepad++\session.xml

By the way, if you want to know how I found this out, I fired up Sysinternals ProcMon, set a filter on the ProcessName field to "notepad++.exe", closed Notepad++ and then ProcMon showed me which files had been accessed when I closed it.

8
  • Beat you to it by 7 seconds :P
    – Pylsa
    Jan 31, 2011 at 23:30
  • Did I see you ninja-deleting an answer? :)
    – Ciaran
    Jan 31, 2011 at 23:43
  • Well, if BloodPhilia really was first, I'll have to mark him as the answer.
    – JohnB
    Jan 31, 2011 at 23:45
  • 1
    Check out my super educational edit!
    – Ciaran
    Jan 31, 2011 at 23:47
  • 3
    On Windows XP, this is %APPDATA%\Notepad++\session.xml
    – rds
    Oct 29, 2012 at 11:57
7

This location should work regardless of username or Windows version:

%APPDATA%\Notepad++\session.xml
4

It's in C:\Users\<USER>\AppData\Roaming\Notepad++\session.xml

2
  • 1
    I do not have "C:\Users". Apr 6, 2016 at 11:47
  • Typing %appdata% into the Windows search will take you to AppData. Oct 29, 2019 at 16:41
2

C:\Users\%username%\AppData\Roaming\Notepad++\backup

1

The best way is to visit below mentioned directory,this will contains all the files temporarily saved by notepad++.

%AppData%\Roaming\Notepad++\backup

1
  • Good answer, but on my PC %AppData% takes me to C:\Users\<USER>\AppData\Roaming` for some reason (instead of just C:\Users\<USER>\AppData)
    – JohnB
    Nov 30, 2019 at 22:15
0

As of v7.4.2, If you downloaded the executable (i.e. did not do a windows installation), then it would be in <your_NPP_location>\config.xml

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.