Cyril N. Alberga wrote:
> (E-Mail Removed) wrote:
>
> > Cyril N. Alberga wrote:
> >
> >>I asked this question on the "newuser" group with no relevant response.
> >> I am re-posting it here, either for some help or for a suggestion as
> >>to where would be the most appropriate place to ask.
> >>
> >>CNA
> >>
> >>I have several external hard drives which I use on more than one system.
> >> They do not get assigned to the same drive letters from one time to
> >>the next. I wish to use shortcuts to refer to some of the files on
> >>these drives, and it was suggested that I use environment variables,
> >>e.g. %PictureDrive%:\2006 Marqueses\At Sea\South Seas Party 01.jpg
> >>
> >>I have created (by hand) shortcuts to files on the disks, set the
> >>environment variable, and hand-modified the shortcut, replacing the
> >>drive letter by %PictureDrive%.
> >>
> >>Is there any way to create such shortcuts without the hand massaging?
> >>
> >>Is there any way to have the appropriate environment variable set (and
> >>if need-be, created) when I plug my external hard-drive into Aunt
> >>Tilly's PC when I visit and wish to bore her with some pictures?
> >>
> >>Thanks for any suggestions
> >>
> >>Cyril N. Alberga
> >>
> >>PS as an alternative, is it possible to address a device by its volume
> >>name, such as (in this case) "PICTURES"?
> >
> >
> > * not exactly what you want but use \ instead of e:\ in your
> > shortcuts
> > and have the shortcuts stored on a folder on the e drive. (the ext
> > drive where the pics are)
> > whatever letter the external drive is assigned. (e,r,f etc ) the
> > shortcuts link to the pics
> > this is true for whatever comp the drive is plugged in.
> >
> > actually, that may not even work. shortcutss may not work with just a
> > \blah they may just change to absolute for the comp it's created on.
> >
> > * You may be able to give your ext drive a strange leter(late in the
> > alphabet), like N, and it'll be N on any comp. You may be able to do
> > that in a batch file so click and it's done.
> >
> > * reagrding refrring to drive by colume. All I can find are
> > programming stuff on it. No use.
> >
> > http://www.updatestage.com/xtras/doc.../pathtocd.html
> > http://www.mcli.dist.maricopa.edu/di...ti-volume.html
> >
> >
>
> Thank you for your suggestions. I'll give them a try. I (abortivly)
> tried to set the address in a shortcut to something beginning with ..
> but quickly found that THAT was forbidden.
>
> I'll check out your links when I get back to my computer, later.
>
> Again, thanks,
>
> Cyril
I don't think those links are much use. The first one is for Lingo (a
scripting language for Director) . The second one is I think for BASIC.
And they won't help for shortcuts. I was just pointing out that that
method of identifying the drive by volume, is no use.
There's still the solution of using a letter late in the alphabet like
N.
A solution that might work but is ugly , is
creating shortcuts , in a batch file,
http://www.xxcopy.com/xxcopy38.htm
They give an example of
xxmklink "c:\Program Files\mydir\My Shortcut.lnk" c:\boot.ini
so maybe you could do something along the lines of xxmklink *.*
There are other program sfor creating shortcuts
http://www.optimumx.com/download/#Shortcut Shortcut v1.11
and shortcut.exe is apparently part of the win xp res kit (I don't
know whether that and Shortcut v1.11 are the same).
-
I think generally, your prob is how to create shortcuts on a drive, to
the same drive, whatever the drive letter is.
I'd be suprised if it's not posible. But at worst, you could do it from
the command line with a program. i.e. then run the batch file to
recreate all the shortcuts, to the correct drive.
What was wrong with using environment variables in shortcuts? howcome
you have to keep modifying the shortcuts manually?
I think your best bet is the N drive. or Q drive or whatever. If it's
easy to change a drive letter. And i'm sure there's even an easy way to
do it with a single click of a batch file to run a comman to do it