Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!mit-eddie!husc6!ut-sally!nather From: nather@ut-sally.UUCP Newsgroups: comp.sys.ibm.pc Subject: Re: .bat files within extra command.com Message-ID: <6462@ut-sally.UUCP> Date: Thu, 27-Nov-86 11:26:35 EST Article-I.D.: ut-sally.6462 Posted: Thu Nov 27 11:26:35 1986 Date-Received: Fri, 28-Nov-86 01:49:14 EST References: <10300005@uiucuxe> <2643@gitpyr.gatech.EDU> <2295@mtgzz.UUCP> Organization: U. Texas CS Dept., Austin, Texas Lines: 18 > > >I am looking for someone who has experience in writing .bat files which run > > >from within other .bat files, [....] > > I don't get it, what's all the fuss? > Why do you need to invoke COMMAND at all. In my > experience you can just enter the second .BAT file as an ordinary > commmand ??? If you do it that way control never returns to the original .bat file. It's fine if that's what you intend (chaining) but if you want the second .bat file to behave like a subroutine you must use "command /c batfile" or it won't return control. -- Ed Nather Astronomy Dept, U of Texas @ Austin {allegra,ihnp4}!{noao,ut-sally}!utastro!nather nather@astro.AS.UTEXAS.EDU