<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to create shortcuts with a relative path for use on USB drives</title>
	<atom:link href="http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/</link>
	<description>Freeware reviews and downloads, featuring the coolest, best free software</description>
	<lastBuildDate>Thu, 09 Feb 2012 18:41:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Jay</title>
		<link>http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/comment-page-2/#comment-273512</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Fri, 27 Jan 2012 17:40:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.freewaregenius.com/?p=2056#comment-273512</guid>
		<description>Sweet!! Worked for me. Thanks dude.</description>
		<content:encoded><![CDATA[<p>Sweet!! Worked for me. Thanks dude.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/comment-page-2/#comment-272620</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Wed, 04 Jan 2012 21:35:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.freewaregenius.com/?p=2056#comment-272620</guid>
		<description>UPDATE:

I found a better way to launch the application without a lingering command prompt. Format the .bat like this:

start &quot;&quot; Path\Program.exe

Run the .bat to make sure it works properly. When it does, use the Bat to Exe Converter to compile the .bat with the icon file as in the instructions in the original post. You could also skip this step and just use the .bat file as your shortcut if you don&#039;t care about the icon. Sorry for the triple post.</description>
		<content:encoded><![CDATA[<p>UPDATE:</p>
<p>I found a better way to launch the application without a lingering command prompt. Format the .bat like this:</p>
<p>start &#8220;&#8221; Path\Program.exe</p>
<p>Run the .bat to make sure it works properly. When it does, use the Bat to Exe Converter to compile the .bat with the icon file as in the instructions in the original post. You could also skip this step and just use the .bat file as your shortcut if you don&#8217;t care about the icon. Sorry for the triple post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/comment-page-2/#comment-272615</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Wed, 04 Jan 2012 20:42:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.freewaregenius.com/?p=2056#comment-272615</guid>
		<description>Correction: I recompiled the .exe using the &quot;invisible application&quot; option.</description>
		<content:encoded><![CDATA[<p>Correction: I recompiled the .exe using the &#8220;invisible application&#8221; option.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/comment-page-2/#comment-272614</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Wed, 04 Jan 2012 20:31:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.freewaregenius.com/?p=2056#comment-272614</guid>
		<description>Thanks for the tutorial. It is just what I was looking for. My experience:

When I compiled and ran the new .exe, it left an unnecessary command prompt open. To solve this, I recompiled the .exe using the &quot;invisible application&quot; application. This is found in the Options tab in the Visibility box.

Oddly, doing so slightly changed the behavior of the &quot;User Account Control&quot; window that pops up in Windows 7. The new behavior is slightly less favorable but I&#039;m keeping it over the leftover command prompt window.</description>
		<content:encoded><![CDATA[<p>Thanks for the tutorial. It is just what I was looking for. My experience:</p>
<p>When I compiled and ran the new .exe, it left an unnecessary command prompt open. To solve this, I recompiled the .exe using the &#8220;invisible application&#8221; application. This is found in the Options tab in the Visibility box.</p>
<p>Oddly, doing so slightly changed the behavior of the &#8220;User Account Control&#8221; window that pops up in Windows 7. The new behavior is slightly less favorable but I&#8217;m keeping it over the leftover command prompt window.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Samer</title>
		<link>http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/comment-page-2/#comment-270579</link>
		<dc:creator>Samer</dc:creator>
		<pubDate>Mon, 21 Nov 2011 07:27:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.freewaregenius.com/?p=2056#comment-270579</guid>
		<description>@ LouD: thanks for this. Great tip!</description>
		<content:encoded><![CDATA[<p>@ LouD: thanks for this. Great tip!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LouD</title>
		<link>http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/comment-page-2/#comment-270561</link>
		<dc:creator>LouD</dc:creator>
		<pubDate>Mon, 21 Nov 2011 05:15:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.freewaregenius.com/?p=2056#comment-270561</guid>
		<description>Give this variation a try:

This Batch-file is executed via a desktop shortcut AFTER a memory device is plugged into ANY available usb port.

It searches possible drive letter assignments IN REVERSE ORDER from Z to G
(excluding C D E &amp; F) looking for the App (Bing.Bat) and executes it if it is found within that memory device on the specified path. The root directory In this case.

Batchfile:
FOR %%i in (Z Y X W V U T S R Q P O N M L K J I H G) DO (IF exist %%i:\BING.BAT %%i:\BING.BAT)

or:

Direct Command line:
FOR %i in (Z Y X W V U T S R Q P O N M L K J I H G) DO (IF exist %i:\BING.BAT %i:\BING.BAT)

About the icon:
Find and copy the App&#039;s icon from its normal location and put in with existing icons or change where the desktop shortcut should look for it.</description>
		<content:encoded><![CDATA[<p>Give this variation a try:</p>
<p>This Batch-file is executed via a desktop shortcut AFTER a memory device is plugged into ANY available usb port.</p>
<p>It searches possible drive letter assignments IN REVERSE ORDER from Z to G<br />
(excluding C D E &amp; F) looking for the App (Bing.Bat) and executes it if it is found within that memory device on the specified path. The root directory In this case.</p>
<p>Batchfile:<br />
FOR %%i in (Z Y X W V U T S R Q P O N M L K J I H G) DO (IF exist %%i:\BING.BAT %%i:\BING.BAT)</p>
<p>or:</p>
<p>Direct Command line:<br />
FOR %i in (Z Y X W V U T S R Q P O N M L K J I H G) DO (IF exist %i:\BING.BAT %i:\BING.BAT)</p>
<p>About the icon:<br />
Find and copy the App&#8217;s icon from its normal location and put in with existing icons or change where the desktop shortcut should look for it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/comment-page-2/#comment-267483</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 11 Oct 2011 03:00:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.freewaregenius.com/?p=2056#comment-267483</guid>
		<description>Thank you very much</description>
		<content:encoded><![CDATA[<p>Thank you very much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abcd</title>
		<link>http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/comment-page-2/#comment-266420</link>
		<dc:creator>Abcd</dc:creator>
		<pubDate>Mon, 22 Aug 2011 12:53:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.freewaregenius.com/?p=2056#comment-266420</guid>
		<description>@Martin... try &quot;&quot;NetBeans\bin\netbeans.exe&quot; &quot;-console suppress&quot;&quot;</description>
		<content:encoded><![CDATA[<p>@Martin&#8230; try &#8220;&#8221;NetBeans\bin\netbeans.exe&#8221; &#8220;-console suppress&#8221;"</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Podbi</title>
		<link>http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/comment-page-2/#comment-263076</link>
		<dc:creator>Martin Podbi</dc:creator>
		<pubDate>Wed, 16 Feb 2011 12:08:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.freewaregenius.com/?p=2056#comment-263076</guid>
		<description>Hi,
This tutorial is great indeed. But I&#039;ve got one question. How to run some program with additional parametrs. For example, I would like to have shortcut to &quot;G:\NetBeans\bin\netbeans.exe&quot; there is now trouble. But if i want run it with additional parameter &quot;--console suppress&quot; it won&#039;t work. In my &quot;bat&quot; file I&#039;ve placed the following: &quot;NetBeans\bin\netbeans.exe --console suppress&quot; and Windows command line won&#039;t run it. It writes some message about don&#039;t knowing if this is internal, or external program.
Can anyone help?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,<br />
This tutorial is great indeed. But I&#8217;ve got one question. How to run some program with additional parametrs. For example, I would like to have shortcut to &#8220;G:\NetBeans\bin\netbeans.exe&#8221; there is now trouble. But if i want run it with additional parameter &#8220;&#8211;console suppress&#8221; it won&#8217;t work. In my &#8220;bat&#8221; file I&#8217;ve placed the following: &#8220;NetBeans\bin\netbeans.exe &#8211;console suppress&#8221; and Windows command line won&#8217;t run it. It writes some message about don&#8217;t knowing if this is internal, or external program.<br />
Can anyone help?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Norville Cole</title>
		<link>http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/comment-page-2/#comment-263006</link>
		<dc:creator>Norville Cole</dc:creator>
		<pubDate>Thu, 10 Feb 2011 22:52:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.freewaregenius.com/?p=2056#comment-263006</guid>
		<description>Hi,
How do you include an option to change a init directory

I:\gns3\GNS3.exe --configdir I:\GNS3

Thanks
Norville</description>
		<content:encoded><![CDATA[<p>Hi,<br />
How do you include an option to change a init directory</p>
<p>I:\gns3\GNS3.exe &#8211;configdir I:\GNS3</p>
<p>Thanks<br />
Norville</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eviler</title>
		<link>http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/comment-page-2/#comment-262504</link>
		<dc:creator>Eviler</dc:creator>
		<pubDate>Thu, 16 Dec 2010 13:29:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.freewaregenius.com/?p=2056#comment-262504</guid>
		<description>Very nice! Just what i was looking for! Thank you.</description>
		<content:encoded><![CDATA[<p>Very nice! Just what i was looking for! Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Samer</title>
		<link>http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/comment-page-2/#comment-261026</link>
		<dc:creator>Samer</dc:creator>
		<pubDate>Wed, 15 Sep 2010 20:17:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.freewaregenius.com/?p=2056#comment-261026</guid>
		<description>@ Drew: thank for sharing!</description>
		<content:encoded><![CDATA[<p>@ Drew: thank for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew</title>
		<link>http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/comment-page-2/#comment-260932</link>
		<dc:creator>Drew</dc:creator>
		<pubDate>Fri, 10 Sep 2010 10:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.freewaregenius.com/?p=2056#comment-260932</guid>
		<description>Shortcuts do support relative paths, but the wizard which creates them doesn&#039;t.
So:
1. Create a shortcut as normal using the full path.
2. Edit the shortcut with a binary editor, such as Visual Studio Express (free)
2a. Some binary editors open the exe file the shortcut points to instead of the shortcut. To work around this, rename the file from xxx.lnk to xxx.bin, then open it again
3. Find the full path in the data, by doing a search
4. Copy the relative path over the full path
5. Find a 00 in the binary, copy it over first extra character in the full path
6. Save the file
6.a If you did 2a, rename the file back to .lnk
7. Run the shortcut - should work :)</description>
		<content:encoded><![CDATA[<p>Shortcuts do support relative paths, but the wizard which creates them doesn&#8217;t.<br />
So:<br />
1. Create a shortcut as normal using the full path.<br />
2. Edit the shortcut with a binary editor, such as Visual Studio Express (free)<br />
2a. Some binary editors open the exe file the shortcut points to instead of the shortcut. To work around this, rename the file from xxx.lnk to xxx.bin, then open it again<br />
3. Find the full path in the data, by doing a search<br />
4. Copy the relative path over the full path<br />
5. Find a 00 in the binary, copy it over first extra character in the full path<br />
6. Save the file<br />
6.a If you did 2a, rename the file back to .lnk<br />
7. Run the shortcut &#8211; should work <img src='http://cdn.freewaregenius.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wguru</title>
		<link>http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/comment-page-2/#comment-260883</link>
		<dc:creator>wguru</dc:creator>
		<pubDate>Tue, 07 Sep 2010 18:21:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.freewaregenius.com/?p=2056#comment-260883</guid>
		<description>Ref. fixing &#039;rogue&#039; drive letter assigned shortcuts, my Googling the issue (Changing target path of windows shortcuts) resulted in one forum suggesting use of a powershell script file.  However, someone there instead recommends that it might be better to use code to change all the shortcut&#039;s to the drive letter of choice.  So I&#039;m currently awaiting that person&#039;s kkindly afforded instruction/details.</description>
		<content:encoded><![CDATA[<p>Ref. fixing &#8216;rogue&#8217; drive letter assigned shortcuts, my Googling the issue (Changing target path of windows shortcuts) resulted in one forum suggesting use of a powershell script file.  However, someone there instead recommends that it might be better to use code to change all the shortcut&#8217;s to the drive letter of choice.  So I&#8217;m currently awaiting that person&#8217;s kkindly afforded instruction/details.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Samer</title>
		<link>http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/comment-page-2/#comment-260878</link>
		<dc:creator>Samer</dc:creator>
		<pubDate>Tue, 07 Sep 2010 16:01:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.freewaregenius.com/?p=2056#comment-260878</guid>
		<description>wguru,
Don&#039;t worry about the double posting. Its a problem with my host.</description>
		<content:encoded><![CDATA[<p>wguru,<br />
Don&#8217;t worry about the double posting. Its a problem with my host.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wguru</title>
		<link>http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/comment-page-2/#comment-260864</link>
		<dc:creator>wguru</dc:creator>
		<pubDate>Tue, 07 Sep 2010 00:17:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.freewaregenius.com/?p=2056#comment-260864</guid>
		<description>Wouldn&#039;t purposely double post, but the initial try at posting seemed to fail as I was promted with something like, the server was unavailable, try back later. So I immiediatley back paged, re-wrote (but didn&#039;t check to see if it previously poseted as I assumed it had, given the promt about &#039;busy and try back later&#039;).</description>
		<content:encoded><![CDATA[<p>Wouldn&#8217;t purposely double post, but the initial try at posting seemed to fail as I was promted with something like, the server was unavailable, try back later. So I immiediatley back paged, re-wrote (but didn&#8217;t check to see if it previously poseted as I assumed it had, given the promt about &#8216;busy and try back later&#8217;).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wguru</title>
		<link>http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/comment-page-2/#comment-260862</link>
		<dc:creator>wguru</dc:creator>
		<pubDate>Mon, 06 Sep 2010 23:57:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.freewaregenius.com/?p=2056#comment-260862</guid>
		<description>Great stuff here, but is there a way to chnage a batch of shortcut (say all found in one folder) to another drive letter?  I have some 6,000 shortcuts and half of them traget and start in the wrong drive letter (so they don;t work and I would have to manually change 3,000 shortcut proerties if no other means to fix this).  Again all 6,000 are on one drive, but due to Windows annoyingly changing EHD drive letters simple minded by the drive&#039;s introduction to the pc, I ended up not noticing the drive letter didn;t match the other 3000 shortcuts.</description>
		<content:encoded><![CDATA[<p>Great stuff here, but is there a way to chnage a batch of shortcut (say all found in one folder) to another drive letter?  I have some 6,000 shortcuts and half of them traget and start in the wrong drive letter (so they don;t work and I would have to manually change 3,000 shortcut proerties if no other means to fix this).  Again all 6,000 are on one drive, but due to Windows annoyingly changing EHD drive letters simple minded by the drive&#8217;s introduction to the pc, I ended up not noticing the drive letter didn;t match the other 3000 shortcuts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Troy K</title>
		<link>http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/comment-page-1/#comment-260186</link>
		<dc:creator>Troy K</dc:creator>
		<pubDate>Fri, 30 Jul 2010 02:40:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.freewaregenius.com/?p=2056#comment-260186</guid>
		<description>You can do it with a shortcut...
%windir%\explorer.exe /e,..\..\..\..\My folder</description>
		<content:encoded><![CDATA[<p>You can do it with a shortcut&#8230;<br />
%windir%\explorer.exe /e,..\..\..\..\My folder</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/comment-page-1/#comment-258796</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Wed, 26 May 2010 18:16:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.freewaregenius.com/?p=2056#comment-258796</guid>
		<description>This worked great. One thing to note: your quotation marks as-is are not formatted correctly, so it initially was not working for me. After I replaced the &quot;curly&quot; quotations with standard &quot;straight&quot; ones, it worked immediately.

Thanks!</description>
		<content:encoded><![CDATA[<p>This worked great. One thing to note: your quotation marks as-is are not formatted correctly, so it initially was not working for me. After I replaced the &#8220;curly&#8221; quotations with standard &#8220;straight&#8221; ones, it worked immediately.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.freewaregenius.com/2008/07/24/how-to-create-shortcuts-with-a-relative-path-for-use-on-usb-drives/comment-page-1/#comment-258295</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Mon, 19 Apr 2010 11:21:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.freewaregenius.com/?p=2056#comment-258295</guid>
		<description>To get rid of the black window choose the invisible optiopn.</description>
		<content:encoded><![CDATA[<p>To get rid of the black window choose the invisible optiopn.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced
Database Caching 1/24 queries in 0.079 seconds using disk: basic
Object Caching 697/698 objects using disk: basic
Content Delivery Network via fwgpullzone.freewaregeniusco.netdna-cdn.com

Served from: www.freewaregenius.com @ 2012-02-09 20:26:26 -->
