<?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[Can I tell Opera which session to use when launching a page?]]></title><description><![CDATA[<p dir="auto">I normally launch Opera and then do a Ctrl-Shift-N to launch a private browsing session. From an external program that I wrote in FoxPro, I can launch a tab in the first session by using the following command, where variable lcUrl contains the link to be launched:</p>
<p dir="auto">RUN START "C:\Program Files (x86)\Opera\launcher.exe" &amp;lcUrl</p>
<p dir="auto">(The syntax is probably different in other programming languages. RUN START tells FoxPro to execute a DOS Shell command.)</p>
<p dir="auto">The command always launches the URL in a new tab on my first Opera session, and there are some links that I would prefer to launch in the second session. Is there an additional switch I can add to tell Opera that I want the page to open up in the second session?</p>
<p dir="auto">Thanks in advance for any suggestions.</p>
]]></description><link>https://forums.opera.com/topic/58879/can-i-tell-opera-which-session-to-use-when-launching-a-page</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 22:36:01 GMT</lastBuildDate><atom:link href="https://forums.opera.com/topic/58879.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 21 Nov 2022 23:55:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Can I tell Opera which session to use when launching a page? on Tue, 22 Nov 2022 05:07:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/122">@burnout426</a> Sincere thanks for the thorough answer and the link that shows the syntax. Hoping to get this to work in the next few days.</p>
]]></description><link>https://forums.opera.com/post/294282</link><guid isPermaLink="true">https://forums.opera.com/post/294282</guid><dc:creator><![CDATA[deandog]]></dc:creator><pubDate>Tue, 22 Nov 2022 05:07:42 GMT</pubDate></item><item><title><![CDATA[Reply to Can I tell Opera which session to use when launching a page? on Tue, 22 Nov 2022 04:24:38 GMT]]></title><description><![CDATA[<p dir="auto">You can use the <a href="https://peter.sh/experiments/chromium-command-line-switches/#incognito" target="_blank" rel="noopener noreferrer nofollow ugc">--incognito</a> or --private switch to start up Opera in private mode. Haven't tested if that works when specifying a URL when Opera is already open and there's a private window open though. You can try though.</p>
<p dir="auto">There's <a href="https://peter.sh/experiments/chromium-command-line-switches/#new-window" target="_blank" rel="noopener noreferrer nofollow ugc">--new-window</a> that launches the URL in a new window. It's not a new session though.</p>
<p dir="auto">There's <a href="https://peter.sh/experiments/chromium-command-line-switches/#user-data-dir" target="_blank" rel="noopener noreferrer nofollow ugc">--user-data-dir=</a> you can use to make Opera use a whole different profile, which of course will use a whole different session. See <a href="https://www.reddit.com/r/operabrowser/wiki/opera/new_profile/#wiki_create_multiple_profiles_for_opera" target="_blank" rel="noopener noreferrer nofollow ugc">this post</a> for examples.</p>
<p dir="auto">You can have multiple <a href="https://www.reddit.com/r/operabrowser/wiki/opera/new_profile/#wiki_standalone_installation" target="_blank" rel="noopener noreferrer nofollow ugc">standalone installations</a>. Each will have its own profile and therefore its own session. You just point to the launcher.exe for the installation you want.</p>
]]></description><link>https://forums.opera.com/post/294280</link><guid isPermaLink="true">https://forums.opera.com/post/294280</guid><dc:creator><![CDATA[burnout426]]></dc:creator><pubDate>Tue, 22 Nov 2022 04:24:38 GMT</pubDate></item></channel></rss>