delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/12/16:42:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: <cygwin AT cygwin DOT com>
Subject: RE: Run complex chain of windows batch files in cyg
Date: Thu, 12 Aug 2004 22:41:08 +0200
Message-ID: <NGBBLLIAMFLGJEOAJCCECEPJDMAA._garbage_collector_@telia.com>
MIME-Version: 1.0
In-Reply-To: <cfftqd$hvo$1@sea.gmane.org>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019