<?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[Need Explanation of a few Session.xml Parameters &amp; Values]]></title><description><![CDATA[<p dir="auto">I’m looking for an explanation of a few parameters I see within the sessions.xml file located here (a sample of the code further below): C:\Users&lt;username&gt;\AppData\Roaming\Notepad++</p>
<p dir="auto">I’m <strong>specifically</strong> curious about the values in these parameters below:</p>
<ul>
<li><em>originalFileLastModifTimestamp</em></li>
<li><em>originalFileLastModifTimestampHigh</em></li>
</ul>
<p dir="auto"><strong>Also</strong>, what is the number at the end of the <em>backupFilePath</em> parameter of the “new” file/tab?</p>
<pre><code>&lt;File firstVisibleLine="0" xOffset="0" scrollWidth="9423" startPos="120" endPos="120" selMode="0" offset="0" wrapCount="1" lang="SQL" encoding="-1" userReadOnly="no" filename="\\mypath\myfilename.sql" backupFilePath="" originalFileLastModifTimestamp="-386892058" originalFileLastModifTimestampHigh="30736076" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="1140719616" mapWrapIndentMode="-1" mapIsWrap="no" /&gt;

&lt;File firstVisibleLine="6" xOffset="0" scrollWidth="3990" startPos="2488" endPos="2488" selMode="0" offset="0" wrapCount="18" lang="SQL" encoding="-1" userReadOnly="no" filename="new 1" backupFilePath="C:\Users\username\AppData\Roaming\Notepad++\backup\new 1@2020-09-01_101742" originalFileLastModifTimestamp="0" originalFileLastModifTimestampHigh="0" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="0" mapWrapIndentMode="-1" mapIsWrap="no" /&gt;
</code></pre>
<p dir="auto">I clicked the “Sort Tabs” button from that feature from the <em>Window</em> &gt; <em>Windows</em> module thinking it would open another dialogue with more options, but instead it sorted by <em>Name</em>.</p>
<p dir="auto">I’m hoping an explanation of these values may help me sort these tabs back manually in this file.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/22662/need-explanation-of-a-few-session-xml-parameters-values</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 02:44:08 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/22662.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Mar 2022 18:33:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Need Explanation of a few Session.xml Parameters &amp; Values on Thu, 03 Mar 2022 19:29:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3841">@PeterJones</a>, thanks for clarifying. I got a sensible conversion from the online tool after entering the formula into Google to calculate an answer to provide it.</p>
<p dir="auto">So with this example, entering the calculated answer of <strong>1.3201045e+17</strong> into the <a href="https://www.epochconverter.com/ldap" rel="nofollow ugc">online converter</a> gave me <strong>Monday, April 29, 2019 8:56:40 PM</strong>, which is exactly what I needed.</p>
<p dir="auto">Thanks again <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> and <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3841">@PeterJones</a>!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74855</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74855</guid><dc:creator><![CDATA[Daniel Tomberlin]]></dc:creator><pubDate>Thu, 03 Mar 2022 19:29:05 GMT</pubDate></item><item><title><![CDATA[Reply to Need Explanation of a few Session.xml Parameters &amp; Values on Thu, 03 Mar 2022 19:22:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/24680">@daniel-tomberlin</a></p>
<pre><code>high = 30736076 (from originalFileLastModifTimestampHigh)
low = -386892058 = -X (so X = 386892058) (from originalFileLastModifTimestamp)
2^32 = 4294967296 (yes, exponentiation)
full value = high * 2^32 + (2^32 - X) = 30736076 * 4294967296  + (4294967296 - 386892058)
</code></pre>
<p dir="auto">and if it’s not negative, it’s just something like:</p>
<pre><code>high = 30736076
low = 123456789
full value = high * 2^32 + X = 30736076 * 4294967296  + 123456789
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/74853</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74853</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 03 Mar 2022 19:22:55 GMT</pubDate></item><item><title><![CDATA[Reply to Need Explanation of a few Session.xml Parameters &amp; Values on Thu, 03 Mar 2022 19:17:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3841">@peterjones</a>, I’m not following your formula, especially the meaning of the ^ symbol (exponent I presume). Let’s use these two values below…</p>
<pre><code>* originalFileLastModifTimestamp="-386892058" 
* originalFileLastModifTimestampHigh="30736076"
</code></pre>
<p dir="auto">The formula should look like this:</p>
<pre><code>( 2^32 - (-386892058) ) * 30736076 + (-386892058) = 18-digit LDAP/FILETIME timestamp
</code></pre>
<p dir="auto">Thanks btw. I’m good at math and some non-programming code (SQL, JS, HTML,CSS), but do not have experience with these codes.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74852</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74852</guid><dc:creator><![CDATA[Daniel Tomberlin]]></dc:creator><pubDate>Thu, 03 Mar 2022 19:17:47 GMT</pubDate></item><item><title><![CDATA[Reply to Need Explanation of a few Session.xml Parameters &amp; Values on Thu, 03 Mar 2022 19:00:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/24680">@daniel-tomberlin</a></p>
<p dir="auto">Any negative number <code>-X</code>, find the actual low word as <code>2^32 - X</code>.  So if it said <code>-1</code>, the actual lower word would be <code>4294967295</code>.  If it said <code>-1000000000</code>, it would be <code>4294967296-1000000000 = 3294967296</code>, etc.</p>
<p dir="auto">Then you would use <code>4294967296*high + low</code> as the actual value.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74847</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74847</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 03 Mar 2022 19:00:05 GMT</pubDate></item><item><title><![CDATA[Reply to Need Explanation of a few Session.xml Parameters &amp; Values on Thu, 03 Mar 2022 18:57:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@alan-kilborn</a>, I tried to find a way to convert FILETIME and I think I found an <a href="https://www.epochconverter.com/ldap" rel="nofollow ugc">online converter</a> (first tool), but I’m left more confused, especially with some of these notepad++ values being negative and 9-10 digits long.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74846</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74846</guid><dc:creator><![CDATA[Daniel Tomberlin]]></dc:creator><pubDate>Thu, 03 Mar 2022 18:57:48 GMT</pubDate></item><item><title><![CDATA[Reply to Need Explanation of a few Session.xml Parameters &amp; Values on Wed, 02 Mar 2022 21:04:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@alan-kilborn</a>, thanks. I will read this over and see if I can get that number deciphered.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74795</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74795</guid><dc:creator><![CDATA[Daniel Tomberlin]]></dc:creator><pubDate>Wed, 02 Mar 2022 21:04:30 GMT</pubDate></item><item><title><![CDATA[Reply to Need Explanation of a few Session.xml Parameters &amp; Values on Wed, 02 Mar 2022 20:07:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/24680">@daniel-tomberlin</a> said in <a href="/post/74787">Need Explanation of a few Session.xml Parameters &amp; Values</a>:</p>
<blockquote>
<p dir="auto">I’m specifically curious about the values in these parameters below:</p>
<p dir="auto">originalFileLastModifTimestamp<br />
originalFileLastModifTimestampHigh</p>
</blockquote>
<p dir="auto">See <a href="https://docs.microsoft.com/en-us/windows/win32/api/minwinbase/ns-minwinbase-filetime" rel="nofollow ugc">FILETIME</a> for:</p>
<pre><code>typedef struct _FILETIME {
  DWORD dwLowDateTime;
  DWORD dwHighDateTime;
} FILETIME, *PFILETIME, *LPFILETIME;
</code></pre>
<p dir="auto">I’m fairly sure that your <code>originalFileLastModifTimestampHigh</code> will correspond to <code>dwHighDateTime</code> and <code>originalFileLastModifTimestamp</code> to <code>dwLowDateTime</code>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74789</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74789</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 02 Mar 2022 20:07:41 GMT</pubDate></item></channel></rss>