mak...@apem3 ~
$ echo $PATH
/cygdrive/e/minitage2/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/e/Subversion/bin:/cygdrive/e/OpenLDAP/CD
SSilver/:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/system32
/WindowsPowerShell/v1.0:/cygd
On Wed, Dec 02, 2009 at 12:28:31AM +0100, Reinier Post wrote:
>>Windows programs will only ever see a Windows-style PATH no matter
>>what; however, they WILL see the Cygwin paths converted to
>>Windows-style and prepended IF they were run from a login shell under
>>Cygwin.
>
>Yes, that's how I'm ge
> Windows programs will only ever see a Windows-style PATH no matter what;
> however, they WILL see the Cygwin paths converted to Windows-style and
> prepended IF they were run from a login shell under Cygwin.
Yes, that's how I'm getting these Message too long messages.
--
Reinier
--
Problem re
On Tue, Dec 01, 2009 at 12:42:01PM -0600, DePriest, Jason R. wrote:
> On Tue, Dec 1, 2009 at 10:03 AM, Andy Koppe <> wrote:
> > 2009/12/1 Reinier Post:
> >>> If you want to see the Windows PATH setting unmolested by Cygwin, you
> >>> will either need to strip out the additions set by /etc/profile o
Lee Maschmeyer wrote:
>> ran cmd.exe from start menu
>
> And that gets the info into Cygwin - how?
>
Yet another false inference. You were being shown an illustrative
comparison that was supposed to demonstrate a point about the underlying
mechanisms in play, not an answer to the original que
ran cmd.exe from start menu
And that gets the info into Cygwin - how?
--
Lee Maschmeyer
Wayne State University
Detroit, Michigan, USA
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Un
Lee Maschmeyer wrote:
>> To verify it, all you have to do is open a bash prompt (Cygwin.bat,
>> mintty, rxvt, whatever) and then launch a cmd.exe or powershell.
>>
>> Check the path in the bash prompt and you will see the cygwin stuff at
>> the beginning of it.
>>
>> Check the path in the cmd.exe o
On Tue, Dec 1, 2009 at 2:24 PM, Lee Maschmeyer <> wrote:
>> To verify it, all you have to do is open a bash prompt (Cygw
> 0/tty2W0(2)$ echo $PATH
> /home/lmaschm/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/c/Program
> Files/Common Files/Microsoft Shared/Windows Live:/c/WINDOWS
> /system32:/c/
To verify it, all you have to do is open a bash prompt (Cygwin.bat,
mintty, rxvt, whatever) and then launch a cmd.exe or powershell.
Check the path in the bash prompt and you will see the cygwin stuff at
the beginning of it.
Check the path in the cmd.exe or powershell prompt which was run
*after
DePriest, Jason R. wrote:
> On Tue, Dec 1, 2009 at 10:03 AM, Andy Koppe <> wrote:
>> 2009/12/1 Reinier Post:
If you want to see the Windows PATH setting unmolested by Cygwin, you
will either need to strip out the additions set by /etc/profile or avoid
running under an environment mod
On Tue, Dec 1, 2009 at 10:03 AM, Andy Koppe <> wrote:
> 2009/12/1 Reinier Post:
>>> If you want to see the Windows PATH setting unmolested by Cygwin, you
>>> will either need to strip out the additions set by /etc/profile or avoid
>>> running under an environment modified by /etc/profile.
>>
>> It
2009/12/1 Reinier Post:
>> If you want to see the Windows PATH setting unmolested by Cygwin, you
>> will either need to strip out the additions set by /etc/profile or avoid
>> running under an environment modified by /etc/profile.
>
> It doesn't add, actually - it replaces it.
You're wrong. The Cy
On Mon, Nov 30, 2009 at 07:40:51PM -0600, Jeremy Bopp wrote:
[...]
> If you want to see the Windows PATH setting unmolested by Cygwin, you
> will either need to strip out the additions set by /etc/profile or avoid
> running under an environment modified by /etc/profile.
It doesn't add, actually
Andrew DeFaria wrote:
> The real question here is what does he need the Windows PATH for?
Agreed, it depends what purposes OP wants it for and whether it absolutely
positively has to be the exact windows path(*) or not. For complete accuracy
from within a cygwin environment you'd probably have t
On 11/30/2009 08:05 PM, Dave Korn wrote:
Andrew DeFaria wrote:
Simply start the Windows command prompt and type in echo %PATH%.
You must need to re-read the subject line, since your suggested method
does not actually answer the question asked.
Indeed! You're right. So then the answer is that yo
Andrew DeFaria wrote:
> Simply start the Windows command prompt and type in echo %PATH%.
You must need to re-read the subject line, since your suggested method does
not actually answer the question asked.
cheers,
DaveK
--
Problem reports: http://cygwin.com/problems.html
FAQ:
On 11/30/2009 06:40 PM, Jeremy Bopp wrote:
Just to clarify since there seems to be a little confusion concerning
what the OP needs. Gary's suggestion will convert the value of the
PATH environment variable as the shell used to run cygpath sees it to
a value which is acceptable by Windows-native
Gary Johnson wrote:
> On 2009-12-01, ??? wrote:
>
>>> $PATH returns the value of PATH. For example, to display the path, use "echo
>>> $PATH".
>>> This is not Cygwin-specific though so further discussion is likely to be
>>> off-topic for this list.
>
>> What i mean is that, how to onl
On 2009-12-01, ??? wrote:
> > $PATH returns the value of PATH. For example, to display the path, use "echo
> > $PATH".
> > This is not Cygwin-specific though so further discussion is likely to be
> > off-topic for this list.
> What i mean is that, how to only get the env path of windo
2009/11/30 ︶ㄣ無名氏:
> What i mean is that, how to only get the env path of windows, such as,
> `C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem".
As I understand it, by the time you're in a Cygwin bash shell, the
environment variable has been changed by the Cygwin DLL, and the
original Windo
2009/12/1 �屺��o名氏 :
> What i mean is that, how to only get the env path of windows, such as,
> `C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem".
>
> `echo $PATH' would display the path of cygwin:
> echo $PATH
> /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/sbin:/sbin
>
D
What i mean is that, how to only get the env path of windows, such as,
`C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem".
`echo $PATH' would display the path of cygwin:
echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/sbin:/sbin
> $PATH returns the value of PAT
http://en.wikipedia.org/wiki/Path_%28variable%29
On Tue, Dec 1, 2009 at 6:43 AM, Larry Hall (Cygwin)
wrote:
> On 11/30/2009 07:44 AM, nwpu053...@gmail.com wrote:
>>
>> how to get the windows PATH env in cygwin. thanks.
>
> $PATH returns the value of PATH. For example, to
On 11/30/2009 07:44 AM, nwpu053...@gmail.com wrote:
how to get the windows PATH env in cygwin. thanks.
$PATH returns the value of PATH. For example, to display the path, use "echo
$PATH".
This is not Cygwin-specific though so further discussion is likely to be
off-topic
for
how to get the windows PATH env in cygwin. thanks.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
25 matches
Mail list logo