I am using Notepad++ on my Windows machine and by mistake I opened a 64MB file. Now my Notepad++ is stuck permanently and I am not able to use it.
Is there any configura
C:\Users\USER_NAME\AppData\Roaming\Notepad++\session.xml
You can also find out directly from Notepad++ and change where it stores this vital information. As mentioned in this answer look in Settings > Preferences > Backup: Backup path. There are also other useful settings such as backup frequency.
You can also find session.xml which shows information on the temporary, unsaved files in its parent directory.
One more thing to add here. The Old Session.xml file would have links to all the files that were open there (File Paths). They should match for the New PC. The User Name, Program Files folder (32bit or 64bit) etc should be the same. Else Notepad++ will open a blank session.
if your notepad++ have been installed.
there must be in :
%appdata%\Notepad++\session.xml
%appdata% means by default:
if you're using windows 7
C:\Users\{username}\AppData\Roaming
if you're using windows xp or older version)
C:\Documents and Settings\{username}\Application Data
if your notepad++ is portable
there must be in :
your notepad++ programs folder.
the file for notepad++ portable or notepad++ installed is same:
session.xml
Alternatively, open notepad++.exe
with the -nosession
command line argument.
This article helped me figure out how to move/copy my unsaved open tabs to another PC.
Install notepad++ first if not already.
Make sure notepad++ is not open/running on new PC.
On the old PC copy the backup folder located C:\Users\xxxx\AppData\Roaming\Notepad++ to the new one (location may vary on OS). Also copy the session.xml file.
Open notepad++ and all the open unsaved tabs should appear with content.