<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[I lost open tabs and probably, files! HELP!]]></title><description><![CDATA[<p dir="auto">Hello. Im always work with open tabs(non saved docs, or pasted text in), or txts with unsaved changes, BUT today when I computer shutdown (several mins ago) Notepad plus ask me save some file because no exists att disk)(which never happens before!) , I say YES and GOT only new1 tab !!! ALL GONE!<br />
Any help? Pleaseeeeee.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/17344/i-lost-open-tabs-and-probably-files-help</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 19:20:31 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/17344.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 Mar 2019 00:17:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Thu, 06 Oct 2022 02:22:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/26476">@C-Raghava</a> said in <a href="/post/80307">I lost open tabs and probably, files! HELP!</a>:</p>
<blockquote>
<p dir="auto">I am also facing the same issue, I am using Notepad ++ 5. +.+</p>
</blockquote>
<p dir="auto">So if what you typed is correct (5.+.+) you are using a seriously old version. Why haven’t you updated? No-one is going to help you on such an old version. The details listed in this post and several like it all refer to much later versions.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/80308</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/80308</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Thu, 06 Oct 2022 02:22:50 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Thu, 06 Oct 2022 01:53:54 GMT]]></title><description><![CDATA[<p dir="auto">I am also facing the same issue, I am using Notepad ++ 5. +.+</p>
]]></description><link>https://community.notepad-plus-plus.org/post/80307</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/80307</guid><dc:creator><![CDATA[C Raghava]]></dc:creator><pubDate>Thu, 06 Oct 2022 01:53:54 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Fri, 16 Sep 2022 14:15:52 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/9850#issuecomment-1249404695" rel="nofollow ugc">HERE</a>’s another variation on Python code “solving” the problem.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/79843</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/79843</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 16 Sep 2022 14:15:52 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Wed, 14 Sep 2022 18:00:39 GMT]]></title><description><![CDATA[<p dir="auto">Here is a PythonScript implementation of it.</p>
<p dir="auto">See <a href="https://community.notepad-plus-plus.org/topic/23039/faq-desk-how-to-install-and-run-a-script-in-pythonscript">these instructions</a> for how to run this script in PythonScript</p>
<p dir="auto">The script will pop up a dialog.  Respond with:</p>
<ol>
<li>click YES to load the recovered session immediately</li>
<li>click NO to save the recovered session into an XML file that you can later load with File &gt; Load Session…</li>
<li>click CANCEL to ignore the recovered session</li>
</ol>
<p dir="auto">This is only effective if <strong>Settings &gt; Preferences &gt; Backup &gt; Enable session snapshot…</strong> was checkmarked before you lost your session file.  This is only effective if nothing happened to erase <code>%AppData%\Notepad++\backup</code> or equiavlent.</p>
<h4>Script: <code>RecoverLostSession.py</code></h4>
<pre><code># encoding=utf-8
"""in response to https://community.notepad-plus-plus.org/topic/17344/
specifically, translate the ideas behind https://community.notepad-plus-plus.org/post/79695 to PythonScript

0. Install Python Script plugin, if not yet installed
1. Use Plugins &gt; PythonScript &gt; New Script, give this a name (like `RecoverLostSession.py`)
2. Plugins &gt; PythonScript &gt; Scripts &gt; `RecoverLostSession` to recover it
    1. click YES to load the recovered session immediately
    2. click NO to save the recovered session into an XML file that you can later load with File &gt; Load Session...
    3. click CANCEL to ignore the recovered session
"""
from Npp import editor,notepad,console
import os
import tempfile

class SessionRecovery(object):
    xml_prefix = "&lt;?xml version=\"1.0\" encoding=\"UTF-8\" ?&gt; \n&lt;NotepadPlus&gt; \n&lt;Session activeView=\"0\"&gt; \n&lt;mainView activeIndex=\"2\"&gt;"
    xml_suffix = "&lt;/mainView&gt;\n &lt;subView activeIndex=\"0\" /&gt;\n&lt;/Session&gt;\n&lt;/NotepadPlus&gt;\n"
    xml_entry1 = "&lt;File firstVisibleLine=\"0\" xOffset=\"0\" scrollWidth=\"64\" startPos=\"8\" endPos=\"8\" selMode=\"0\" offset=\"0\" wrapCount=\"1\" lang=\"None (Normal Text)\" encoding=\"-1\" userReadOnly=\"no\" filename=\""
    xml_entry2 = "backupFilePath=\""
    xml_endentry = "originalFileLastModifTimestamp=\"0\" originalFileLastModifTimestampHigh=\"0\" mapFirstVisibleDisplayLine=\"-1\" mapFirstVisibleDocLine=\"-1\" mapLastVisibleDocLine=\"-1\" mapNbLine=\"-1\" mapHigherPos=\"-1\" mapWidth=\"-1\" mapHeight=\"-1\" mapKByteInDoc=\"512\" mapWrapIndentMode=\"-1\" mapIsWrap=\"no\" /&gt;"
    xml_full = ""

    def go(self):
        self.determine_directories()
        self.build_xml()
        s = notepad.messageBox("YES to load recovered session now\nNO to save as a new session file\nCANCEL to ignore recovered session", "Recovered Session", MESSAGEBOXFLAGS.YESNOCANCEL)
        if s == MESSAGEBOXFLAGS.RESULTYES:
            self.load_session()
        elif s == MESSAGEBOXFLAGS.RESULTNO:
            self.saveas_session()
        return

    def determine_directories(self):
        cfg_plg_cfg = notepad.getPluginConfigDir()
        (cfg_plg, x) = os.path.split(cfg_plg_cfg)
        (self.cfg_dir, x) = os.path.split(cfg_plg)
        self.bkup_dir = os.path.join(self.cfg_dir, 'backup')
        self.xml_full = self.xml_prefix
        self.session_xml_path = os.path.join(self.cfg_dir, 'session.xml')
        return

    def build_xml(self):
        for (root, dirs, files) in os.walk(self.bkup_dir):
            for f in files:
                filepath = os.path.join(root, f)
                posFile = filepath.find(f)
                posAt = filepath.find("@")
                entry_name = filepath[posFile:posAt]
                this_entry = self.xml_entry1 + entry_name + '" ' + self.xml_entry2 + filepath + '" ' + self.xml_endentry + "\n"
                self.xml_full += "\n    " + this_entry
        self.xml_full += self.xml_suffix
        return

    def saveas_session(self):
        notepad.new()
        editor.setText(self.xml_full)
        notepad.save()
        notepad.close()
        return

    def load_session(self):
        _, fn = tempfile.mkstemp('.xml')
        f = open(fn, 'w')
        f.write(self.xml_full)
        f.close()
        notepad.loadSession(f.name)
        try:
            os.remove(f.name)
        except WindowsError as e:
            if e.winerror == 32: # cannot delete is fine, just ignore it
                pass
            else:
                raise e
        return

SessionRecovery().go()
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/79802</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/79802</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 14 Sep 2022 18:00:39 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Wed, 14 Sep 2022 13:58:06 GMT]]></title><description><![CDATA[<p dir="auto">Just a clarification:</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/26291">@sfcfs</a> said two posts ago:</p>
<blockquote>
<p dir="auto">%AppData%\Notepad++\backup</p>
</blockquote>
<p dir="auto">and then one post ago:</p>
<blockquote>
<p dir="auto"><em>%AppData%\Roaming</em> to <em>%AppData%\Roaming\Notepad++</em></p>
</blockquote>
<p dir="auto">The first (<code>%AppData%\Notepad++\*</code>) was correct.  The second (<code>%AppData%\Roaming\*</code>) is wrong.  See the <a href="https://community.notepad-plus-plus.org/topic/15740/faq-desk-what-is-appdata">AppData FAQ</a>.  Try it yourself: open Windows Explorer, and paste/type <code>%AppData%\Roaming</code> into the title/address bar and see the error message that pops up; then try <code>%AppData%\Notepad++</code> and see what happens.</p>
<p dir="auto">Other than that mistake (which many people make), that’s a great script, so thanks for sharing.</p>
<p dir="auto">Also, it would be nice, for those who aren’t C# experts, if you showed how an average-Joe Notepad++ user, who might not have ever touched C#, could take that C# code and actually compile/run it (without having to install a huge C# environment) – not all Notepad++ are C# programmers, or programmers at all.</p>
<p dir="auto">----</p>
<p dir="auto">Addenda: See, for example, <a href="https://community.notepad-plus-plus.org/post/79783">this post</a>, where I show errors I get when I tried to compile your script with the .NET framework’s csc.exe using <code>c:\windows\Microsoft.NET\Framework\v4.0.30319\csc.exe recover-lost-session.cs</code>:</p>
<pre><code>recover-lost-session.cs(6,1): error CS0116: A namespace cannot directly contain members such as fields or methods
recover-lost-session.cs(13,8): error CS1001: Identifier expected
recover-lost-session.cs(13,10): error CS1518: Expected class, delegate, enum, interface, or struct
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/79780</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/79780</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 14 Sep 2022 13:58:06 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Mon, 12 Sep 2022 16:47:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/26291">@sfcfs</a> The last line of the code needs to be changed to</p>
<pre><code>File.WriteAllText(app_path + @"\NotePad++\session.xml",fullfile);
</code></pre>
<p dir="auto">for it to work seamlessly. If not the user needs to move the session.xml file from the folder <em>%AppData%\Roaming</em> to <em>%AppData%\Roaming\Notepad++</em></p>
<p dir="auto">After that, just start Notepad++ and your tabs should be back.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/79711</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/79711</guid><dc:creator><![CDATA[sfcfs]]></dc:creator><pubDate>Mon, 12 Sep 2022 16:47:38 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Sun, 11 Sep 2022 22:00:36 GMT]]></title><description><![CDATA[<p dir="auto">I have encountered this problem a couple of days ago, my laptop had a BSOD and seems that the session.xml was corrupted or lost.</p>
<p dir="auto">If the “%AppData%\Notepad++\backup” still has the files, you can create a backup in your desktop and use the following c# program to re-create the “session.xml” file.<br />
Completely close Notepad++ and execute the following c# script:</p>
<pre><code>// Restores session.xml file in %AppData\Roaming\Notepad++ 
// from files stored in %AppData\Roaming\Notepad++\backup

using System;
using System.IO;
string app_path = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
string path = app_path + @"\Notepad++\backup\";
string fullfile = "&lt;?xml version=\"1.0\" encoding=\"UTF-8\" ?&gt; \n&lt;NotepadPlus&gt; \n&lt;Session activeView=\"0\"&gt; \n&lt;mainView activeIndex=\"2\"&gt;";
string endtext = "&lt;/mainView&gt;\n &lt;subView activeIndex=\"0\" /&gt;\n&lt;/Session&gt;\n&lt;/NotepadPlus&gt;";
string entry1 = "&lt;File firstVisibleLine=\"0\" xOffset=\"0\" scrollWidth=\"64\" startPos=\"8\" endPos=\"8\" selMode=\"0\" offset=\"0\" wrapCount=\"1\" lang=\"None (Normal Text)\" encoding=\"-1\" userReadOnly=\"no\" filename=\"";
string entry2 = "backupFilePath=\"";
string endentry = "originalFileLastModifTimestamp=\"0\" originalFileLastModifTimestampHigh=\"0\" mapFirstVisibleDisplayLine=\"-1\" mapFirstVisibleDocLine=\"-1\" mapLastVisibleDocLine=\"-1\" mapNbLine=\"-1\" mapHigherPos=\"-1\" mapWidth=\"-1\" mapHeight=\"-1\" mapKByteInDoc=\"512\" mapWrapIndentMode=\"-1\" mapIsWrap=\"no\" /&gt;";
string[] filenames = Directory.GetFiles(path);
foreach (string filename in filenames) 
{
    int istart = filename.IndexOf("kup\\")+4;
    int iend = filename.IndexOf("@");
    	
    string entryname = filename.Substring(istart,iend-istart);
    string fullname = filename.Substring(istart);
    
    fullfile = fullfile + entry1 + entryname + "\" " + entry2 + filename + "\" " + endentry + "\n";
}
fullfile = fullfile + endtext;
Console.WriteLine (fullfile);
// If you want to test the output, comment the line below or change the path.
File.WriteAllText(app_path + @"\session.xml",fullfile);
</code></pre>
<p dir="auto">This could be done with Powershell too, may look into it so that it is a bit more accessible.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/79695</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/79695</guid><dc:creator><![CDATA[sfcfs]]></dc:creator><pubDate>Sun, 11 Sep 2022 22:00:36 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Thu, 26 Aug 2021 04:45:52 GMT]]></title><description><![CDATA[<p dir="auto">the bug seems to have been fixed, thank you.</p>
<p dir="auto"><a href="https://github.com/notepad-plus-plus/notepad-plus-plus/commit/62efa463b0a74426af0f3f6ed10382b52a4ac799" rel="nofollow ugc">https://github.com/notepad-plus-plus/notepad-plus-plus/commit/62efa463b0a74426af0f3f6ed10382b52a4ac799</a></p>
<p dir="auto">otherwise, please comment in the bug report:</p>
<p dir="auto"><a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10402#" rel="nofollow ugc">https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10402#</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/69280</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69280</guid><dc:creator><![CDATA[Felipe G. Nievinski]]></dc:creator><pubDate>Thu, 26 Aug 2021 04:45:52 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Wed, 02 Sep 2020 05:46:18 GMT]]></title><description><![CDATA[<p dir="auto">Please update the code for saving current session from time to time to fix the issue with lost sessions on reboot. This is seriously impacting work with NPP as lost sessions/files is very bad experience.<br />
Thank you.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/57268</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/57268</guid><dc:creator><![CDATA[vk5880]]></dc:creator><pubDate>Wed, 02 Sep 2020 05:46:18 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Tue, 16 Apr 2019 22:05:37 GMT]]></title><description><![CDATA[<p dir="auto">welcome to the notepad++ community, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/15020">@Douglas-Dike</a></p>
<blockquote>
<p dir="auto">What needs to happen to get the old functionality where tabs/files persisted across reboots?</p>
</blockquote>
<p dir="auto">this code part has not changed.<br />
what has changed, is that you are probably on windows 10, or worse: on w10 build 1809, which will currently force kill applications on automatic windows update reboots, with a more limited grace period, for a “better microsoft user experience” due to faster rebooting.</p>
<blockquote>
<p dir="auto">Do I need to make a fork?</p>
</blockquote>
<p dir="auto">no, you just have to install any of the older versions, which you think worked before, from here:<br />
<a href="https://notepad-plus-plus.org/download/all-versions.html" rel="nofollow ugc">https://notepad-plus-plus.org/download/all-versions.html</a><br />
to personally verify that notepad++ has not changed regarding “tabs/files persisting across reboots”, but your windows platform it is running on.</p>
<p dir="auto">eventually you could also dig out your good old win7 dvd and “repair” win10 with it ;-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/42312</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/42312</guid><dc:creator><![CDATA[Meta Chuh]]></dc:creator><pubDate>Tue, 16 Apr 2019 22:05:37 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Tue, 16 Apr 2019 21:33:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/15020">@Douglas-Dike</a> said:</p>
<blockquote>
<p dir="auto">The old behavior was incredibly useful</p>
</blockquote>
<p dir="auto">And the persist-across-exits-or-reboots behavior still exists.  It is now, and has always been, a calculated risk on your part to enable it.  If you lose data (as the OP of this thread did) because Windows crashed, don’t blame Notepad++; anyone relying on an auto-save to not be corrupted during OS crash is taking the consequences of their own decision: it’s not a danger specific to Notepad++: I’ve lost data because MS Word auto-save feature corrupted both the original file and the periodic auto-backup.  I always recommend taking full control of critical data (“save early, save often; commit early, commit often” is my mantra).</p>
<p dir="auto">And that behavior is now, and has always been (*) enabled via the <strong>Settings &gt; Preferences &gt; Backup &gt; Enable Session Snapshot and periodic backup</strong>.</p>
<p dir="auto">(*: “always” may be an overstatement.  I doubt the feature existed in Notepad++ before Notepad++ existed; I don’t know what version number Notepad++ added the session-snapshot/periodic-backup feature.  But as long as I’ve known about that feature, it’s been at that setting.)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/42309</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/42309</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 16 Apr 2019 21:33:00 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Tue, 16 Apr 2019 21:13:21 GMT]]></title><description><![CDATA[<p dir="auto">What needs to happen to get the old functionality where tabs/files persisted across reboots?</p>
<p dir="auto">I’ve been using the notepad++ as a persistent sticky pad for snippets of code, error messages and random state for years. The old behavior was incredibly useful. Do I need to make a fork?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/42308</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/42308</guid><dc:creator><![CDATA[Douglas Dike]]></dc:creator><pubDate>Tue, 16 Apr 2019 21:13:21 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Mon, 01 Apr 2019 12:17:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14879">@kekukui</a> said:</p>
<blockquote>
<p dir="auto">And what if the power fails?</p>
</blockquote>
<blockquote>
<p dir="auto">I think the lesson is for the developers.</p>
</blockquote>
<p dir="auto">You can’t be serious…If a tornado/hurricane comes to your house and smashes your computer and its hard drive into bits and your data is lost…is that something the developers should protect you from?</p>
<p dir="auto">Save (ctrl+s, <em>often</em>)…and backup (independently of Notepad++, move copy offsite, also <em>often</em>).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41777</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41777</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 01 Apr 2019 12:17:46 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Mon, 01 Apr 2019 04:58:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/9520">@Meta-Chuh</a> said:</p>
<blockquote>
<p dir="auto"><strong>make sure you don’t shutdown or reboot your pc, while notepad++ is still running.</strong></p>
</blockquote>
<p dir="auto">And what if the power fails?  I always reboot with NPP running and never lost any tabs until version 7.6.3.  So I thought it would always recover a session, like Firefox or Microsoft Word…  What a surprise when everything disappeared <em><strong>!</strong></em></p>
<blockquote>
<p dir="auto"><strong>a shutdown will only halt as long as a dialogue window is open.</strong></p>
</blockquote>
<p dir="auto">…but <strong>Windows Notepad</strong> halts shutdown even when a dialogue window is <strong>NOT</strong> open!  – NPP should work the same way, as the user expects.  (Also, NPP does not implement file locking on the contents of its own temp folder while it is running!?)</p>
<blockquote>
<p dir="auto"><strong>if i understood everything correctly, you have been able to successfully recover your unsaved tabs and files</strong>.</p>
</blockquote>
<p dir="auto">If I understood correctly, it also means that automatic session recovery should be trivial to implement in source with a “clean shutdown” flag and a backup of session.xml</p>
<hr />
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> said:</p>
<blockquote>
<p dir="auto"><strong>Did you learn any kind of lesson from this experience?</strong></p>
</blockquote>
<p dir="auto">I think the lesson is for the developers.</p>
<blockquote>
<p dir="auto"><strong>Back to the same old way of operating!</strong></p>
</blockquote>
<p dir="auto">Which should be supported !   😁</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41768</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41768</guid><dc:creator><![CDATA[kekukui]]></dc:creator><pubDate>Mon, 01 Apr 2019 04:58:30 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Fri, 22 Mar 2019 23:28:57 GMT]]></title><description><![CDATA[<p dir="auto">Back to the same old way of operating!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41523</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41523</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 22 Mar 2019 23:28:57 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Fri, 22 Mar 2019 22:44:52 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your help, really appreciate it! :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41522</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41522</guid><dc:creator><![CDATA[Vlad Gordiy]]></dc:creator><pubDate>Fri, 22 Mar 2019 22:44:52 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Fri, 22 Mar 2019 21:18:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14799">@Vlad-Gordiy</a></p>
<p dir="auto">congratulations, if i understood everything correctly, you have been able to successfully recover your unsaved tabs and files. 👍</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41518</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41518</guid><dc:creator><![CDATA[Meta Chuh]]></dc:creator><pubDate>Fri, 22 Mar 2019 21:18:33 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Fri, 22 Mar 2019 20:19:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/9520">@Meta-Chuh</a> said:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14799">@Vlad-Gordiy</a></p>
<blockquote>
<p dir="auto">Yes, Im have file right here. How do I can restore tabs back and edited files too?</p>
</blockquote>
<p dir="auto">your backup files will look like this:<br />
unsaved tabs: <code>new 1@2019-03-20_043157</code> (tab name, followed by @ and date + time)<br />
unsaved files: <code>yourfile.txt@2019-03-22_083021</code> (file name, followed by @ and a date/time stamp)</p>
<ul>
<li>first copy them all to a new folder on your desktop.</li>
<li>for unsaved files, rename your backup copy to the original file name, by removing the @ and the date/time stamp.</li>
<li>for unsaved tabs, rename your backup copy to the original file name, by removing the @ and the date/time stamp, and add the extension <code>.txt</code> as they don’t have an extension yet.</li>
<li>open all files in notepad++ and check if you are lucky and they reflect your unsaved files and/or tabs.</li>
</ul>
</blockquote>
<p dir="auto">why you forgot mention session.xml in notepad++  appdata folder? I just make copy this file and replace wiped folder, and after restart porgrams N++ restore all tabs with all files and scrolls saved!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41517</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41517</guid><dc:creator><![CDATA[Vlad Gordiy]]></dc:creator><pubDate>Fri, 22 Mar 2019 20:19:26 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Fri, 22 Mar 2019 17:18:54 GMT]]></title><description><![CDATA[<p dir="auto">Im always think Notepad++ always save last opened tabs as Firefox or CHrome always do</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41515</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41515</guid><dc:creator><![CDATA[Vlad Gordiy]]></dc:creator><pubDate>Fri, 22 Mar 2019 17:18:54 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Fri, 22 Mar 2019 12:24:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14799">@Vlad-Gordiy</a></p>
<p dir="auto">Did you learn any kind of lesson from this experience?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41504</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41504</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 22 Mar 2019 12:24:14 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Fri, 22 Mar 2019 09:58:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14799">@Vlad-Gordiy</a></p>
<blockquote>
<p dir="auto">Yes, Im have file right here. How do I can restore tabs back and edited files too?</p>
</blockquote>
<p dir="auto">your backup files will look like this:<br />
unsaved tabs: <code>new 1@2019-03-20_043157</code> (tab name, followed by @ and date + time)<br />
unsaved files: <code>yourfile.txt@2019-03-22_083021</code> (file name, followed by @ and a date/time stamp)</p>
<ul>
<li>first copy them all to a new folder on your desktop.</li>
<li>for unsaved files, rename your backup copy to the original file name, by removing the @ and the date/time stamp.</li>
<li>for unsaved tabs, rename your backup copy to the original file name, by removing the @ and the date/time stamp, and add the extension <code>.txt</code> as they don’t have an extension yet.</li>
<li>open all files in notepad++ and check if you are lucky and they reflect your unsaved files and/or tabs.</li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/41498</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41498</guid><dc:creator><![CDATA[Meta Chuh]]></dc:creator><pubDate>Fri, 22 Mar 2019 09:58:09 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Fri, 22 Mar 2019 03:20:10 GMT]]></title><description><![CDATA[<ol>
<li>
<p dir="auto">Yes, Im have file right here. How do I can restore tabs back and edited files too?</p>
</li>
<li>
<p dir="auto">Always I shutdown this way - click shutdown botton in Windows. And Notepad ++ automtically restore with all tabs and edited unsaved files, after I turn my coputer on! But today, somthing goes wrong and notepad doesnt restore anything! wtf</p>
</li>
</ol>
]]></description><link>https://community.notepad-plus-plus.org/post/41494</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41494</guid><dc:creator><![CDATA[Vlad Gordiy]]></dc:creator><pubDate>Fri, 22 Mar 2019 03:20:10 GMT</pubDate></item><item><title><![CDATA[Reply to I lost open tabs and probably, files! HELP! on Fri, 22 Mar 2019 00:37:41 GMT]]></title><description><![CDATA[<p dir="auto">welcome to the notepad++ community, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14799">@Vlad-Gordiy</a></p>
<p dir="auto">you could look in <code>%AppData%\Notepad++\backup</code> if anything is left, but otherwise you’re out of luck.</p>
<p dir="auto">a shutdown will only halt as long as a dialogue window is open.<br />
as soon as the dialogue is closed, and the timeout for a graceful shutdown has passed, the windows shutdown process will force kill any running application.<br />
this does not give applications time to save their current state, like the notepad++ session.</p>
<p dir="auto"><strong>if you use unsaved tabs or files:</strong></p>
<ul>
<li>
<p dir="auto">make sure you don’t shutdown or reboot your pc, while notepad++ is still running.</p>
</li>
<li>
<p dir="auto">make sure you disable automatic windows update reboot, if you leave notepad++, or any other application, running while you are absent from your pc.</p>
</li>
<li>
<p dir="auto">make sure you don’t need the unsaved tabs in the future, as a power loss, without an ups or battery pack, will eventually produce data loss or data corruption.</p>
</li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/41493</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41493</guid><dc:creator><![CDATA[Meta Chuh]]></dc:creator><pubDate>Fri, 22 Mar 2019 00:37:41 GMT</pubDate></item></channel></rss>