Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!oddjob!gargoyle!ihnp4!laidbak!guardian From: guardian@laidbak.UUCP (Harry Skelton) Newsgroups: comp.sys.ibm.pc Subject: Re: Nestled Batch Files Under MS-DOS Message-ID: <1151@laidbak.UUCP> Date: Fri, 18-Sep-87 17:20:43 EDT Article-I.D.: laidbak.1151 Posted: Fri Sep 18 17:20:43 1987 Date-Received: Sun, 20-Sep-87 06:41:38 EDT References: <874@cg-atla.UUCP> Reply-To: guardian@laidbak.UUCP (Harry Skelton(E)) Organization: LAI Chicago Lines: 27 In article <874@cg-atla.UUCP> harty@cg-atla.UUCP (Kevin Harty) writes: > > I wish to execute a batch file from within in a for >loop of another batch file. > > f00.bat Have you tried something like : vvvvvvvvvv > for %%1 %%2 %%3 in (*.plt) do ( command /c f001.bat) > > thanx > > kjh I know if you wish to batch commands that you have to use command.com to 'shell' over what your are working with. Look it up. It works for me. .---------. Harry Skelton : .-. : --- other mail drops --- guardian@laidbak.UUCP : `-'o : ihnp4!laidbak!ugh!bear ihnp4!laidbak!guardian : O : ihnp4!chinet!guardian `---------' , ... The epic Battle `--,---.//"[ ]-^/ \------* Continues !! \_ :. .= .=