public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Linda Walsh <cygwin@tlinx.org>
To: cygwin@cygwin.com
Subject: How does one find "cygdrive path" in a Win ".bat" file  (was Re:  Bug in "startXwin.bat")
Date: Tue, 10 Feb 2009 00:34:00 -0000	[thread overview]
Message-ID: <4990CB8D.3050704@tlinx.org> (raw)
In-Reply-To: <4990B128.7030004@cygwin.com>

Larry Hall (Cygwin X) wrote:
> Linda Walsh wrote:
>> The startxwin.sh script works, but startxwin.bat does not work if
>> your Cygwin installation isn't in the default location.
>>
>> You could use "mount -p" (presuming your cygwin\bin is in your windows 
>> path, as mine is).
>>
>> If not, need to look in the registry:
>> "\HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts 
>> v2\cygdrive prefix"
> 
> No, you don't need to look in the registry.  There's nothing there that
> 'mount' won't tell you.  Forget about the registry.  You'll be better
> off, especially when Cygwin 1.7 is released.
---
	I'm curious -- how does mount find or 'know' the cygdrive path
if it doesn't come from the registry.

	For that matter, how would a windows .bat file find the
'mount.exe' binary if the .bat file doesn't know 'cygdrive path'?


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

       reply	other threads:[~2009-02-10  0:34 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4990B031.4050807@tlinx.org>
     [not found] ` <4990B128.7030004@cygwin.com>
2009-02-10  0:34   ` Linda Walsh [this message]
2009-02-10  0:57     ` Larry Hall (Cygwin)
2009-02-10  1:30       ` Ralph Hempel
2009-02-10  1:37       ` How does one find "cygdrive path" in a Win ".bat" file Linda Walsh
2009-02-10  2:07         ` Larry Hall (Cygwin)
2009-02-10  2:55           ` How does one find where Cygwin was installed from Windows? Linda Walsh
2009-02-10  4:22             ` Larry Hall (Cygwin)
2009-02-10 20:21               ` RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?) Linda Walsh
2009-02-10 20:39                 ` Larry Hall (Cygwin)
2009-02-10 20:45                   ` rhubbell
2009-02-10 20:49                     ` Larry Hall (Cygwin)
2009-02-19  2:28                       ` rhubbell
2009-02-19  3:48                         ` Larry Hall (Cygwin)
2009-02-10 20:56                 ` Tim McDaniel
2009-02-10 21:04                   ` Larry Hall (Cygwin)
2009-02-10 21:13                     ` Ralph Hempel
2009-02-10 22:26                     ` Tim McDaniel
2009-02-10 23:25                       ` Larry Hall (Cygwin)
2009-02-11  0:22                         ` Tim McDaniel
2009-02-11  0:48                           ` Larry Hall (Cygwin)
2009-02-11  6:00                           ` Christopher Faylor
2009-02-11  6:54                             ` RFE?: CygWinDir in ENV? tmcd
2009-02-14  5:59                         ` RFE: CygWinDir in ENV Linda Walsh
2009-02-13 23:09             ` How does one find where Cygwin was installed from Windows? Lee D.Rothstein
2009-02-10  9:02     ` How does one find "cygdrive path" in a Win ".bat" file (was Re: Bug in "startXwin.bat") Thorsten Kampe
2009-02-10 12:48       ` Eric Blake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4990CB8D.3050704@tlinx.org \
    --to=cygwin@tlinx.org \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).