I use the VS2008 command prompt for builds, TFS access etc. and the cygwin prompt for grep, vi and unix-like tools. Is there any way I can \'import\' the vcvars32.bat functi
Here is my sample Cygwin.bat file that configures Visual studio and starts mintty
@echo off
@REM Select the latest VS Tools
IF EXIST %VS100COMNTOOLS% (
CALL "%VS100COMNTOOLS%\vsvars32.bat"
GOTO :start_term
)
IF EXIST %VS90COMNTOOLS% (
CALL "%VS90COMNTOOLS%\vsvars32.bat"
GOTO :start_term
)
IF EXIST %VS80COMNTOOLS% (
CALL "%VS80COMNTOOLS%\vsvars32.bat"
GOTO :start_term
)
:start_term
C:
chdir C:\cygwin\bin
START mintty.exe -i /Cygwin-Terminal.ico -