This is the mail archive of the
cygwin
mailing list for the Cygwin project.
setting Win32 environment variables in Cygwin
- From: Alex Goldman <alex dot gman at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 20 Jul 2005 12:04:33 -0700
- Subject: setting Win32 environment variables in Cygwin
- Reply-to: Alex Goldman <alex dot gman at gmail dot com>
When I execute a *.bat file containing lines like
Set FOO=12345
FOO does not show up in the environment of the Cygwin shell. Further,
if I execute Win32 programs that access the environment, they can not
see FOO either.
Specifically, I need to do
Set PATH=C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin;%PATH%
Set INCLUDE=C:\Program Files\Microsoft Visual C++ Toolkit 2003\include;%INCLUDE%
Set LIB=C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib;C:\Program Files\Microsoft Visual C++ Toolkit
2003\lib;%LIB%
So that VC++ will run properly from the command line. Any suggestions?
--
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/