On Monday 07 April 2003 02:02 pm, Ned Konz wrote: > On Monday 07 April 2003 01:09 pm, Olin Lathrop wrote: > > > there is a c: hardcoded in at least one of the batch files > > > therefore put the code somewhere on your c: drive or search for > > > the c: and change to the appropriate drive. > > > > I just did a scan, and found the c: in SRC_GET.BAT. Argh, if CMD > > would only let you pass the output of one command as a parameter > > to another. > > You can: > > for /f "usebackq" %%i in (`some command`) do some other command %i er... inside a batch file: for /f "usebackq" %%i in (`some command`) do some other command %%i on the command line: for /f "usebackq" %i in (`some command`) do some other command %i -- Ned Konz http://bike-nomad.com GPG key ID: BEEA7EFE -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads