The Computer Oracle

Where are the paths to the files open in Notepad++ (last open tabs) stored?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: A Thousand Exotic Places Looping v001

--

Chapters
00:00 Where Are The Paths To The Files Open In Notepad++ (Last Open Tabs) Stored?
00:22 Answer 1 Score 4
00:34 Accepted Answer Score 24
00:55 Answer 3 Score 7
01:05 Answer 4 Score 4
01:17 Thank you

--

Full question
https://superuser.com/questions/240146/w...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows #notepad++

#avk47



ACCEPTED ANSWER

Score 24


%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.




ANSWER 2

Score 7


This location should work regardless of username or Windows version:

%APPDATA%\Notepad++\session.xml



ANSWER 3

Score 4


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




ANSWER 4

Score 4


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