Hello Hans!
You wrote on 25 Feb 97 to All:
HM> DIR *.* /o:e /b >listfile.txt
HM> JAR a filename.jar !listfile.txt
HM> How can I use the "Pipe" command with ARJ and especially with JAR and
HM> avoid the extra step of creating a "listfile"?
the pipe is nothing more than creating a temorary file and deleting it
afterwards. To avoid creating the file by hand, why not use a
(doskey-)macro?
doskey sojar=dir /o:e /b $g \tmp\lst $t jar a !\tmp\lst $* $t del \tmp\lst
and then using
sojar filename.jar
You could even create a batch for this
sojar.bat:
@echo off
shift
dir /o:e /b > \tmp\lst
jar a !\tmp\lst %0 %1 %2 %3 %4 %5 %6 %7 %8 %9
del \tmp\lst
--- uuuund wech....
---------------
* Origin: ORIGIN.ARJ: thsismycmprssdorgnline (2:2452/180.6)
|