[Opensim-users] Shortcut Creation Drive-Letter Auto- Assignment?

Len Brown lenwbrown at gmail.com
Thu Feb 25 06:08:36 UTC 2010


Thanks Steve, I saw your post just as I was about to mention I'd seen the
expression  %CDROM% before in DOS batch files. But that detected the first
CD drive in sequence.  Maybe though I can find an expression for the first
unassigned drive letter in sequence DOS expression and see how that works.

I'll experiment some and ask my good buddy Google for help too (but only if
I have to).  :)

On Wed, Feb 24, 2010 at 11:49 PM, Steven Westcot <tsudico at gmail.com> wrote:

> Len,
>
> Tthe easiest way on Windows might be a batch file that has the following
> line in it:
>
> %CD%\opensim\OpenSim.32BitLaunch.exe
>
> %CD% is an environment variable for Windows that puts the current directory
> path where the variable is located.  It's often used in batch files and on
> the command prompt but whether it would work for a shortcut I'm not sure.
>
> Steve W.
>
> This is not really OpenSim specific but kinda...
>>
>>     I have virtual drives I mount that OpenSim resides on which I use for
>> local experimentation.  These virtual drives always mount the the same
>> specific drive letter.
>>
>>     But I have a copy of OpenSim on a thumb drive I use on a few different
>> computers.  As a result, sometimes it mounts as D: and sometimes as E: and
>> so on.
>>
>>     I have a shortcut to the OpenSom executable located outside of the
>> "opensim" directory on the thumb drive.  The shortcut has the following:
>>
>> X:\opensim\OpenSim.32BitLaunch.exe
>>
>>     X, obviously, is whatever drive the thumb drive is currently assigned
>> to.  But since this thumb drive's letter assignment occasionally changes,
>> is
>> there something I can replace the above with so that no matter what drive
>> letter my thumb is assigned, the shortcut will still link to the
>> executable
>> in the opensim directory?
>>
>> Thanks a bunch!
>>
>> --
>> - Len W. Brown
>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
>


-- 
- Len W. Brown
  lenwbrown at gmail.com
     http://www.lenfocenter.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20100225/66ba97ed/attachment.html>


More information about the Opensim-users mailing list