<?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[Starting Opera from a .BAT file]]></title><description><![CDATA[<p dir="auto">When I click on my opera icon:<br />
a) if opera not loaded, it opens opera with last set of tabs<br />
b) if opera already loaded, it adds a new Speed Dial tab</p>
<p dir="auto">This is exactly what I want to have happen but within a batch file.</p>
<p dir="auto">So far I have</p>
<p dir="auto">start "C:\Program Files (x86)\Opera\launcher.exe"</p>
<p dir="auto">(identical to "Target" in icon properties)</p>
<p dir="auto">but that leaves me in a command window, not in Opera</p>
]]></description><link>https://forums.opera.com/topic/23450/starting-opera-from-a-bat-file</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 03:19:55 GMT</lastBuildDate><atom:link href="https://forums.opera.com/topic/23450.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 Nov 2017 19:53:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Starting Opera from a .BAT file on Wed, 06 Dec 2017 20:10:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/56163"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/56163">@alobpreis</a></a> said in <a href="/post/133583">Starting Opera from a .BAT file</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/694">@zalex108</a> said in <a href="/post/133575">Starting Opera from a .BAT file</a>:</p>
<blockquote>
<p dir="auto">avoid too many | "'s|.</p>
</blockquote>
<p dir="auto">I don't understand you. My option has less double quotes than the one that worked. What issue did you have with <strong>start "" "D:\Time...\Neon.exe"</strong>? (I hope it's not the missing space after "start" in your post, right?)</p>
</blockquote>
<p dir="auto">I mean about that too, to use less <strong>"</strong>'s | "Double quotes" |, because that I've tested but did not work.<br />
I've let an space between the double quotes and the quotes to start the path too - as seen in your post -.</p>
<p dir="auto">--</p>
<p dir="auto">Right now, tested without the space, same result.</p>
<p dir="auto"><strong>OK!</strong><br />
An space between Start and double quotes and between the quotes of the path.</p>
<p dir="auto">Now works.</p>
<p dir="auto">"It was the missing space <img src="https://forums.opera.com/assets/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=89iooh84962" class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes" title=":rolling_eyes:" alt="🙄" />"   xD</p>
<p dir="auto">Then,<br />
<a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/579851">@martinrinehart</a> Once tested I recommend the <a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/56163"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/56163">@alobpreis</a></a> version, it works it's more convenient to avoid the <strong>"</strong>'s - |double quotes| -, you can "copy as path" and it's enough to launch the command or bat.</p>
<p dir="auto">Now I learnt the right way.</p>
<p dir="auto">Thanks both  <img src="https://forums.opera.com/assets/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=89iooh84962" class="not-responsive emoji emoji-emoji-one emoji--winking_face" title=";)" alt="😉" /></p>
]]></description><link>https://forums.opera.com/post/133587</link><guid isPermaLink="true">https://forums.opera.com/post/133587</guid><dc:creator><![CDATA[zalex108]]></dc:creator><pubDate>Wed, 06 Dec 2017 20:10:52 GMT</pubDate></item><item><title><![CDATA[Reply to Starting Opera from a .BAT file on Wed, 06 Dec 2017 19:28:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/694">@zalex108</a> said in <a href="/post/133575">Starting Opera from a .BAT file</a>:</p>
<blockquote>
<p dir="auto">avoid too many | "'s|.</p>
</blockquote>
<p dir="auto">I don't understand you. My option has less double quotes than the one that worked. What issue did you have with <strong>start "" "D:\Time...\Neon.exe"</strong>? (I hope it's not the missing space after "start" in your post, right?)</p>
]]></description><link>https://forums.opera.com/post/133583</link><guid isPermaLink="true">https://forums.opera.com/post/133583</guid><dc:creator><![CDATA[alobpreis]]></dc:creator><pubDate>Wed, 06 Dec 2017 19:28:31 GMT</pubDate></item><item><title><![CDATA[Reply to Starting Opera from a .BAT file on Wed, 06 Dec 2017 18:47:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/579851">@martinrinehart</a></p>
<p dir="auto">Glad to know that <img src="https://forums.opera.com/assets/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=89iooh84962" class="not-responsive emoji emoji-emoji-one emoji--winking_face" title=";)" alt="😉" /></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/56163">@alobpreis</a></p>
<p dir="auto">I've tried your suggestion - since didn't know the other one is not standard - but your suggestion didn't worked in a scenario where would be better to avoid too many | <strong>"</strong>'s|.</p>
<blockquote>
<p dir="auto">Start"" "D:\Time Machine\New folder\Opera Neon\Application\Neon.exe"</p>
</blockquote>
<p dir="auto">But,</p>
<p dir="auto"><img src="/assets/uploads/files/1512585563596-2017-12-06_193851.png" alt="0_1512585559627_2017-12-06_193851.png" class=" img-responsive img-markdown" /></p>
<p dir="auto">Works fine - despite would exist an easy option -.</p>
]]></description><link>https://forums.opera.com/post/133575</link><guid isPermaLink="true">https://forums.opera.com/post/133575</guid><dc:creator><![CDATA[zalex108]]></dc:creator><pubDate>Wed, 06 Dec 2017 18:47:40 GMT</pubDate></item><item><title><![CDATA[Reply to Starting Opera from a .BAT file on Wed, 06 Dec 2017 18:31:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/56163">@alobpreis</a> Thank you. I'll try it.</p>
]]></description><link>https://forums.opera.com/post/133573</link><guid isPermaLink="true">https://forums.opera.com/post/133573</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Wed, 06 Dec 2017 18:31:28 GMT</pubDate></item><item><title><![CDATA[Reply to Starting Opera from a .BAT file on Wed, 06 Dec 2017 17:41:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/579851">@martinrinehart</a> , that's because what I posted. You "fixed" it by making the first parameter not start with a quote, but that way of specifying a path is nonstandard. I would highly recommend placing the whole path between quotes and just add a window title parameter (empty if you like), like what I suggested.</p>
]]></description><link>https://forums.opera.com/post/133564</link><guid isPermaLink="true">https://forums.opera.com/post/133564</guid><dc:creator><![CDATA[alobpreis]]></dc:creator><pubDate>Wed, 06 Dec 2017 17:41:07 GMT</pubDate></item><item><title><![CDATA[Reply to Starting Opera from a .BAT file on Wed, 06 Dec 2017 17:35:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/694">@zalex108</a></p>
<p dir="auto">Sorry for being so slow, but thank you, zalex.</p>
<p dir="auto">I switched a couple occurences from</p>
<p dir="auto">start "the whole/damn/string"</p>
<p dir="auto">to</p>
<p dir="auto">start "the whole"/damn.string</p>
<p dir="auto">because I liked your quotes specificity better than the mine.</p>
<p dir="auto">And, magically, it started to work.</p>
]]></description><link>https://forums.opera.com/post/133563</link><guid isPermaLink="true">https://forums.opera.com/post/133563</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Wed, 06 Dec 2017 17:35:58 GMT</pubDate></item><item><title><![CDATA[Reply to Starting Opera from a .BAT file on Thu, 23 Nov 2017 01:02:12 GMT]]></title><description><![CDATA[<p dir="auto">Start expects the first double quote to be the window title, so what you should do is simply:</p>
<p dir="auto"><strong>start "" "C:\Program Files (x86)\Opera\launcher.exe"</strong></p>
]]></description><link>https://forums.opera.com/post/132191</link><guid isPermaLink="true">https://forums.opera.com/post/132191</guid><dc:creator><![CDATA[alobpreis]]></dc:creator><pubDate>Thu, 23 Nov 2017 01:02:12 GMT</pubDate></item><item><title><![CDATA[Reply to Starting Opera from a .BAT file on Tue, 21 Nov 2017 20:04:55 GMT]]></title><description><![CDATA[<p dir="auto">The "exit" is not needed.</p>
]]></description><link>https://forums.opera.com/post/132054</link><guid isPermaLink="true">https://forums.opera.com/post/132054</guid><dc:creator><![CDATA[burnout426]]></dc:creator><pubDate>Tue, 21 Nov 2017 20:04:55 GMT</pubDate></item><item><title><![CDATA[Reply to Starting Opera from a .BAT file on Tue, 21 Nov 2017 16:50:33 GMT]]></title><description><![CDATA[<p dir="auto">What about?:</p>
<p dir="auto">test.bat</p>
<pre><code>cmd /c "C:\Program Files\Opera\launcher.exe"
exit
</code></pre>
]]></description><link>https://forums.opera.com/post/132023</link><guid isPermaLink="true">https://forums.opera.com/post/132023</guid><dc:creator><![CDATA[burnout426]]></dc:creator><pubDate>Tue, 21 Nov 2017 16:50:33 GMT</pubDate></item><item><title><![CDATA[Reply to Starting Opera from a .BAT file on Tue, 21 Nov 2017 16:47:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/694">@zalex108</a> said in <a href="/post/132011">Starting Opera from a .BAT file</a>:</p>
<blockquote>
<p dir="auto">But this keeps the Command Prompt opened</p>
</blockquote>
<p dir="auto">Oops. I was testing by typing in a command prompt instead of double-left-clicking a batch file. It launches Opera and focus it without launching a new command prompt. But, it's not what the OP wanted, so never mind.</p>
]]></description><link>https://forums.opera.com/post/132022</link><guid isPermaLink="true">https://forums.opera.com/post/132022</guid><dc:creator><![CDATA[burnout426]]></dc:creator><pubDate>Tue, 21 Nov 2017 16:47:12 GMT</pubDate></item><item><title><![CDATA[Reply to Starting Opera from a .BAT file on Tue, 21 Nov 2017 15:55:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/122">@burnout426</a> said in <a href="/post/131966">Starting Opera from a .BAT file</a>:</p>
<blockquote>
<p dir="auto">Does:</p>
<pre><code>cmd /k launcher.exe
</code></pre>
<p dir="auto">do the trick?</p>
</blockquote>
<p dir="auto">But this keeps the Command Prompt opened - as appears in CMD help -.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/579851">@martinrinehart</a> said in <a href="/post/131909">Starting Opera from a .BAT file</a>:</p>
<blockquote>
<p dir="auto">When I click on my opera icon:<br />
a) if opera not loaded, <strong>it opens opera with last set of tabs</strong><br />
b) if opera already loaded, it adds a new Speed Dial tab</p>
</blockquote>
<p dir="auto">For A) ... "<strong>it opens opera with last set of tabs</strong>" You have to set this on Opera.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/694">@zalex108</a> said in <a href="/post/131934">Starting Opera from a .BAT file</a>:</p>
<blockquote>
<p dir="auto">Start C:"Program Files (x86)"\Opera\launcher.exe</p>
</blockquote>
<p dir="auto">This command has missed the * \ *<br />
The forum deletes the first \ .</p>
<p dir="auto">Should be:</p>
<p dir="auto">Start C: \ "Program Files (x86)"\Opera\launcher.exe</p>
<p dir="auto"><em><strong>Without spaces.</strong></em></p>
<hr />
<p dir="auto">Windows 10 (x64) | Anniversary Update<br />
Opera Stable · Beta · Developer</p>
<p dir="auto"><a href="https://www.dropbox.com/sh/smofyf04hpl7xo0/AAD_iH8fe_3g7dnNSd0SH05aa?dl=0" target="_blank" rel="noopener noreferrer nofollow ugc">Test profile</a> | Back up <a href="http://help.opera.com/opera/Linux/2393/en/solutions.html" target="_blank" rel="noopener noreferrer nofollow ugc">Linux</a> · <a href="http://help.opera.com/opera/Mac/2393/en/solutions.html" target="_blank" rel="noopener noreferrer nofollow ugc">Mac</a> ·  <a href="http://help.opera.com/opera/Windows/2393/en/solutions.html" target="_blank" rel="noopener noreferrer nofollow ugc">Win</a></p>
]]></description><link>https://forums.opera.com/post/132011</link><guid isPermaLink="true">https://forums.opera.com/post/132011</guid><dc:creator><![CDATA[zalex108]]></dc:creator><pubDate>Tue, 21 Nov 2017 15:55:35 GMT</pubDate></item><item><title><![CDATA[Reply to Starting Opera from a .BAT file on Tue, 21 Nov 2017 07:32:40 GMT]]></title><description><![CDATA[<p dir="auto">Does:</p>
<pre><code>cmd /k launcher.exe
</code></pre>
<p dir="auto">do the trick?</p>
]]></description><link>https://forums.opera.com/post/131966</link><guid isPermaLink="true">https://forums.opera.com/post/131966</guid><dc:creator><![CDATA[burnout426]]></dc:creator><pubDate>Tue, 21 Nov 2017 07:32:40 GMT</pubDate></item><item><title><![CDATA[Reply to Starting Opera from a .BAT file on Mon, 20 Nov 2017 22:30:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/579851">@martinrinehart</a> said in <a href="/post/131909">Starting Opera from a .BAT file</a>:</p>
<blockquote>
<p dir="auto">start "C:\Program Files (x86)\Opera\launcher.exe"</p>
</blockquote>
<p dir="auto">Or</p>
<p dir="auto">Start C:"Program Files (x86)"\Opera\launcher.exe</p>
<hr />
<p dir="auto">Windows 10 (x64) | Anniversary Update<br />
Opera Stable · Beta · Developer</p>
<p dir="auto"><a href="https://www.dropbox.com/sh/smofyf04hpl7xo0/AAD_iH8fe_3g7dnNSd0SH05aa?dl=0" target="_blank" rel="noopener noreferrer nofollow ugc">Test profile</a> | Back up <a href="http://help.opera.com/opera/Linux/2393/en/solutions.html" target="_blank" rel="noopener noreferrer nofollow ugc">Linux</a> · <a href="http://help.opera.com/opera/Mac/2393/en/solutions.html" target="_blank" rel="noopener noreferrer nofollow ugc">Mac</a> ·  <a href="http://help.opera.com/opera/Windows/2393/en/solutions.html" target="_blank" rel="noopener noreferrer nofollow ugc">Win</a></p>
]]></description><link>https://forums.opera.com/post/131934</link><guid isPermaLink="true">https://forums.opera.com/post/131934</guid><dc:creator><![CDATA[zalex108]]></dc:creator><pubDate>Mon, 20 Nov 2017 22:30:08 GMT</pubDate></item><item><title><![CDATA[Reply to Starting Opera from a .BAT file on Mon, 20 Nov 2017 21:10:23 GMT]]></title><description><![CDATA[<p dir="auto">You'd have to set the shortcut to the batch file so that it doesn't open it's own window.</p>
]]></description><link>https://forums.opera.com/post/131914</link><guid isPermaLink="true">https://forums.opera.com/post/131914</guid><dc:creator><![CDATA[sgunhouse]]></dc:creator><pubDate>Mon, 20 Nov 2017 21:10:23 GMT</pubDate></item></channel></rss>