Guest_imported
New member
- Jan 1, 1970
- 0
hello all i'am having problem with passing varibles to my script here is what i mean :
if i make a batch file that does this:
@echo off
type %1 | perl4 %2 %3 %4 %5 %6 %7 (this batch file is called parse.bat
then have OTHER batch file that does this:
parse.bat stream.log \4 \otest.log ( then run this batch file first)
everything works fine BUT if i tried to put it all in ONE batch file like this
perl4 parse.pl stream.log \4 \otest.log
it don't work even if i try a (pipe command) | still no go what i'am doing wrong?
btw this is on windows98/dos o.s system
any one know how i can fix this?
thanks
if i make a batch file that does this:
@echo off
type %1 | perl4 %2 %3 %4 %5 %6 %7 (this batch file is called parse.bat
then have OTHER batch file that does this:
parse.bat stream.log \4 \otest.log ( then run this batch file first)
everything works fine BUT if i tried to put it all in ONE batch file like this
perl4 parse.pl stream.log \4 \otest.log
it don't work even if i try a (pipe command) | still no go what i'am doing wrong?
btw this is on windows98/dos o.s system
any one know how i can fix this?
thanks