Chris Walters wrote:
`cygpath -w /`
This is fine, but how do I use the result in a DOS bat script?
The short answer is: Get a real shell.
The long answer is: While there may be some hack to trick a Microsoft
command shell into setting an environment variable from a command's
output, it seem
Igor Pechtchanski wrote:
On Wed, 6 Nov 2002, Chris Walters wrote:
I have experienced many times situations which I would like to refer to
CYGWIN's root directory from a bat script. The most generic solution
would be to utilise an environment variable such as CYGROOT or (as in
startxwin.bat) CYGWI
Igor Pechtchanski wrote:
`cygpath -w /`
Thanks.
> On Wed, 6 Nov 2002, Chris Walters wrote:
NT Question: How does cygwin update the System registry (for environment
variables) if it is installed as a normal user? I can't modify it
myself, so how does the installer do it?
It doesn't. It only
On Wed, Nov 06, 2002 at 12:42:21PM +0100, Sven K?hler wrote:
>>>I have experienced many times situations which I would like to refer to
>>>CYGWIN's root directory from a bat script. The most generic solution
>>>would be to utilise an environment variable such as CYGROOT or (as in
>>>startxwin.bat)
>I have experienced many times situations which I would like to refer to
>CYGWIN's root directory from a bat script. The most generic solution
>would be to utilise an environment variable such as CYGROOT or (as in
>startxwin.bat) CYGWIN_ROOT to refer to the absolute windows pathname
>(e.g. D:\cygwi
On Wed, 6 Nov 2002, Chris Walters wrote:
> I have experienced many times situations which I would like to refer to
> CYGWIN's root directory from a bat script. The most generic solution
> would be to utilise an environment variable such as CYGROOT or (as in
> startxwin.bat) CYGWIN_ROOT to refer to
I have experienced many times situations which I would like to refer to
CYGWIN's root directory from a bat script. The most generic solution
would be to utilise an environment variable such as CYGROOT or (as in
startxwin.bat) CYGWIN_ROOT to refer to the absolute windows pathname
(e.g. D:\cygwin
7 matches
Mail list logo