What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » relative short cut

relative short cut
Author: Message:
Jarrod
Veteran Member
*****

Avatar
woot simpson

Posts: 1304
Reputation: 20
– / Male / Flag
Joined: Sep 2006
O.P. relative short cut
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

[Image: 5344.png]
[Image: sig.png]

A.k.a. The Glad Falconer














06-02-2007 05:25 AM
Profile E-Mail PM Find Quote Report
MeEtc
Patchou's look-alike
*****

Avatar
In the Shadow Gallery once again

Posts: 2200
Reputation: 60
38 / Male / Flag
Joined: Nov 2004
Status: Away
RE: relative short cut
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>
[Image: signature/]     [Image: sharing.png]
I cannot hear you. There is a banana in my ear.
06-02-2007 05:29 AM
Profile PM Web Find Quote Report
Jarrod
Veteran Member
*****

Avatar
woot simpson

Posts: 1304
Reputation: 20
– / Male / Flag
Joined: Sep 2006
O.P. RE: relative short cut
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:

This post was edited on 06-02-2007 at 05:33 AM by Jarrod.

[Image: 5344.png]
[Image: sig.png]

A.k.a. The Glad Falconer














06-02-2007 05:31 AM
Profile E-Mail PM Find Quote Report
Verte
Full Member
***

Avatar

Posts: 272
Reputation: 7
Joined: Apr 2007
RE: relative short cut
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?
was put impeccably into words at DebianDay for me last Saturday, by Knut Yrvin of Trolltech - adults try something once, fail, and then are like "ffs this doesn't work". Children try, fail, and then try again, and succeed - maybe on the second, or even fifth retry. But the thing is that they keep at it and overcome the problems in the end.

-andrewdodd13
06-02-2007 05:56 AM
Profile E-Mail PM Find Quote Report
Jarrod
Veteran Member
*****

Avatar
woot simpson

Posts: 1304
Reputation: 20
– / Male / Flag
Joined: Sep 2006
O.P. RE: relative short cut
i thought that would work it looks right but it didn't

This post was edited on 06-02-2007 at 06:11 AM by Jarrod.

[Image: 5344.png]
[Image: sig.png]

A.k.a. The Glad Falconer














06-02-2007 06:09 AM
Profile E-Mail PM Find Quote Report
Verte
Full Member
***

Avatar

Posts: 272
Reputation: 7
Joined: Apr 2007
RE: RE: relative short cut
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.
was put impeccably into words at DebianDay for me last Saturday, by Knut Yrvin of Trolltech - adults try something once, fail, and then are like "ffs this doesn't work". Children try, fail, and then try again, and succeed - maybe on the second, or even fifth retry. But the thing is that they keep at it and overcome the problems in the end.

-andrewdodd13
06-02-2007 06:12 AM
Profile E-Mail PM Find Quote Report
Jarrod
Veteran Member
*****

Avatar
woot simpson

Posts: 1304
Reputation: 20
– / Male / Flag
Joined: Sep 2006
O.P. RE: relative short cut
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

This post was edited on 06-04-2007 at 09:29 AM by Jarrod.

[Image: 5344.png]
[Image: sig.png]

A.k.a. The Glad Falconer














06-02-2007 07:58 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On