Shoutbox

relative short cut - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: relative short cut (/showthread.php?tid=74969)

relative short cut by Jarrod on 06-02-2007 at 05:25 AM

i want a short cut on my flash drive which changes letter depending on the computer i put it in  so i want
J:\GhostzillaCD-1.0.1-free-v1\program\bin\ghostzilla.exe
to look something like (like in html)
\GhostzillaCD-1.0.1-free-v1\program\bin\ghostzilla.exe


RE: relative short cut by MeEtc on 06-02-2007 at 05:29 AM

use a relative path.
so, if you have x:\folder\another\file.html, do this:

code:
<a href="../../GhostzillaCD-1.0.1-free-v1\program\bin\ghostzilla.exe">Link></a>

RE: relative short cut by Jarrod on 06-02-2007 at 05:31 AM

sorry i was using html as my example i know that i want a windows shortcut

the shortcut is in the root dir then the path is like 3 folders down so i want that to work on my sd card with out specifing a drive cos sometimes it's e: sometimes it's j:


RE: relative short cut by Verte on 06-02-2007 at 05:56 AM

shell script? :)

save it as ghostzilla.bat:

cd GhostzillaCD-1.0.1-free-v1\program\bin
ghostzilla.exe

you can do this in Windows yes?


RE: relative short cut by Jarrod on 06-02-2007 at 06:09 AM

i thought that would work it looks right but it didn't


RE: RE: relative short cut by Verte on 06-02-2007 at 06:12 AM

quote:
Originally posted by xen0h
i thought that would work it looks right but it didn't work i'll keep playing with the batfile to see if it will work


Try opening it from the command line so you can see if it spits out any errors.
RE: relative short cut by Jarrod on 06-02-2007 at 07:58 AM

yeah works now
but anyone know of a better way is a bit screwed up doing it like that and i also end up with an open cmd window