![]() ![]() ![]() This also works for all other setting files, see the link above for details.Īlso be sure that you updated to at least Notepad 7.5.9. If your cloud has file versioning, then it is simpler: just retrieve the older version of the sessions.xml. This is possible if you have your cloud path set in Preferences:Īfter the breakdown, immediately turn off syncing with the cloud and restore the original file from there. You cannot, but you can secure against happening this again. Npp_path = osp.join(osp.expandvars('%APPDATA%'), 'Notepad ', 'backup')įor fn in sorted(os.listdir(npp_path), key=lambda fn: = npp_path=npp_path, fn=fn)) Just paste the output between the and the tags: import os Here's a Python script to make it easier to redo the session file. ![]() ![]() So that the section will include all of them. You may either open all those files directly in Notepad , or you can remake the session file in: %APPDATA%\Notepad \session.xml They are stored at: %APPDATA%\Notepad \backup You can, however, restore your unsaved (new) notes. Unless you have saved your session in the cloud, like the previous answer, you can't restore your whole session. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |