Relative Shortcuts

RuByRuBy Join Date: 2002-12-12 Member: 10732Members
<div class="IPBDescription">in Windows...</div> Hi there, I need a quick question answered and for some reason I can't get any info from google... Anyway here's my problem. I want to create a shortcut at the root of my flash drive that points to an executable in on of the folders of this flash drive. On my computer the drive shows up as F:\ but I know that on other computers its probable gonna be some other letter. So how can I make my shortcut independent from the drive letter?

Comments

  • 2_of_Eight2_of_Eight Join Date: 2003-08-20 Member: 20016Members
    Not sure, never tried this.
    If the executable is in F:\Folder\Shortcut.exe, and it should open F:\Folder\Another folder\Target.exe, then make it point to \another folder\target.exe
    My wild guess.
  • RuByRuBy Join Date: 2002-12-12 Member: 10732Members
    <!--QuoteBegin-2_of_8+Oct 20 2004, 06:39 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (2_of_8 @ Oct 20 2004, 06:39 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Not sure, never tried this.
    If the executable is in F:\Folder\Shortcut.exe, and it should open F:\Folder\Another folder\Target.exe, then make it point to \another folder\target.exe
    My wild guess. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    See that made sense to me too but it <b>fails</b>.
  • CabooseCaboose title = name(self, handle) Join Date: 2003-02-15 Member: 13597Members, Constellation
    Make several shortcuts <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo--> One for F:/ one for E:/ etc.
  • im_lostim_lost TWG Rule Guru Join Date: 2003-04-26 Member: 15861Members
    <!--QuoteBegin-Caboose+Oct 20 2004, 04:00 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Caboose @ Oct 20 2004, 04:00 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Make several shortcuts <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo--> One for F:/ one for E:/ etc. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Except that it would require him finding the right one to click on each time (which wouldn't be hard, but could get annoying).
  • RuByRuBy Join Date: 2002-12-12 Member: 10732Members
    <!--QuoteBegin-i'm lost+Oct 20 2004, 07:05 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (i'm lost @ Oct 20 2004, 07:05 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin-Caboose+Oct 20 2004, 04:00 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Caboose @ Oct 20 2004, 04:00 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Make several shortcuts <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo--> One for F:/ one for E:/ etc. <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    Except that it would require him finding the right one to click on each time (which wouldn't be hard, but could get annoying). <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    That and I don't want a bunch of useless crap <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->
  • Crono5Crono5 Join Date: 2003-07-22 Member: 18357Members
  • JHunzJHunz Join Date: 2002-11-15 Member: 8815Members, Constellation
    have you tried ".\another folder\target.exe" ?
Sign In or Register to comment.