Well, the expression is %SystemDrive% but the shortcut refuses to acknowledge it.  Either I may need to just write a simple batch file to reach into the opensim directory and start the executable, or (heaven forbid) actually navigate into the opensim directory and double-click the executable to start it.  :)<br>
<br><div class="gmail_quote">On Thu, Feb 25, 2010 at 12:08 AM, Len Brown <span dir="ltr"><<a href="mailto:lenwbrown@gmail.com">lenwbrown@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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.<br>

<br>I'll experiment some and ask my good buddy Google for help too (but only if I have to).  :)<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Feb 24, 2010 at 11:49 PM, Steven Westcot <span dir="ltr"><<a href="mailto:tsudico@gmail.com" target="_blank">tsudico@gmail.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">Len,<div><br></div><div>Tthe easiest way on Windows might be a batch file that has the following line in it:</div>

<div><br></div><div>%CD%<span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;">\opensim\OpenSim.32BitLaunch.exe</span></div>
<div><font face="arial, sans-serif"><span style="border-collapse: collapse;"><br></span></font></div><div><font face="arial, sans-serif"><span style="border-collapse: collapse;">%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.</span></font></div>


<div><font face="arial, sans-serif"><span style="border-collapse: collapse;"><br></span></font></div><div><font face="arial, sans-serif"><span style="border-collapse: collapse;">Steve W.<br>
</span></font><div><div><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
<span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;">This is not really OpenSim specific but kinda...<br><br>    I have virtual drives I mount that OpenSim resides on which I use for<br>


local experimentation.  These virtual drives always mount the the same<br>specific drive letter.<br><br>    But I have a copy of OpenSim on a thumb drive I use on a few different<br>computers.  As a result, sometimes it mounts as D: and sometimes as E: and<br>


so on.<br><br>    I have a shortcut to the OpenSom executable located outside of the<br>"opensim" directory on the thumb drive.  The shortcut has the following:<br><br>X:\opensim\OpenSim.32BitLaunch.exe<br><br>

    X, obviously, is whatever drive the thumb drive is currently assigned<br>
to.  But since this thumb drive's letter assignment occasionally changes, is<br>there something I can replace the above with so that no matter what drive<br>letter my thumb is assigned, the shortcut will still link to the executable<br>


in the opensim directory?<br><br>Thanks a bunch!<br><br>--<br>- Len W. Brown</span></blockquote></div></div>
<br></div></div><div class="im">_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
<br></div></blockquote></div><br><br clear="all"><div><div></div><div class="h5"><br>-- <br>- Len W. Brown <br>   <a href="mailto:lenwbrown@gmail.com" target="_blank">lenwbrown@gmail.com</a> <br>      <a href="http://www.lenfocenter.com" target="_blank">http://www.lenfocenter.com</a> <br>

</div></div></blockquote></div><br><br clear="all"><br>-- <br>- Len W. Brown <br>   <a href="mailto:lenwbrown@gmail.com">lenwbrown@gmail.com</a> <br>      <a href="http://www.lenfocenter.com">http://www.lenfocenter.com</a> <br>