Forwarding to list, as you forgot to Reply-all (Don't worry, we all do it at least once!).
---------- Forwarded message ---------- From: Mayer Goldberg <[EMAIL PROTECTED]> Date: Apr 26, 2005 3:01 PM Subject: Re: how to find the drive in python/cygwin? To: Kristian Zoerhoff <[EMAIL PROTECTED]> Dear Kristian: Thanks for the very fast reply! I wasn't thinking of the mount command -- this is really the correct way to think about my problem. >>My program needs to run on an external media that comes with Cygwin on >>it. I have no control over what drive is assigned to that media, but >>for some reason, I do need to know the letter. > > Why? Basically this has to do with moving around: I use different computers throughout the day, and need to carry with me a sane and productive computing environment. Rebooting to linux is not an option for me, so I need a Windows solution. I found it in the form of a 40G pocket hard drive with a USB connection. I plug in the connection, go to my software subdirectory and run what I need. I have a mixture of Unix and Windows programs, and often I have to run a Windows program instead of a unix program (for example, I run miktex instead of the tetex that comes with cygwin). The Windows utilities need to be passed arguments in DOS format, i.e., something like G:\FOO\foo.dll. Cygwin is only one specific application I use, so I didn't install everything under the / (which would have solved many problems for me!). As a result, I need to know the drive letter. Thanks again, Mayer -- Kristian kristian.zoerhoff(AT)gmail.com zoerhoff(AT)freeshell.org -- http://mail.python.org/mailman/listinfo/python-list