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">On Wed, Feb 24, 2010 at 11:49 PM, Steven Westcot <span dir="ltr"><<a href="mailto:tsudico@gmail.com">tsudico@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;">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 class="im"><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>_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de">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></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>