Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Hannu E K Nevalainen" <_garbage_collector_ AT telia DOT com> To: Subject: RE: Run complex chain of windows batch files in cyg Date: Thu, 12 Aug 2004 22:41:08 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: X-IsSubscribed: yes xxxxxx-owner AT xxxxxx DOT 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/