This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Run complex chain of windows batch files in cyg
- From: "Hannu E K Nevalainen" <_garbage_collector_ at telia dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 12 Aug 2004 22:41:08 +0200
- Subject: RE: Run complex chain of windows batch files in cyg
xxxxxx-owner@xxxxxx.com wrote:
> I tried that but it didn't seem to work. Turns out it is a two step
> process. You first have to run "cmd" as you say. Then you run a dos
> bat file to set up the env which seems to complete but unless you type
> "exit" it does not take effect. After typing exit you can run the
> nmake (still in windows cmd mode) which runs as if it were in a
> regular command window (dos box). After the nmake finishes, you can
> type exit again which returns you to bash mode in the rxvt box.
>
> Thanks for the help!
To try to ease it up even further; Check out the /C -flag to CMD
e.g. Start your startup.bat with
$ cmd /c startup.bat
IMO this should take a couple of manual steps out of the process.
/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E --72-->
** mailing list preference; please keep replies on list **
-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--
--
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/