TIP: Click on subject to list as thread! ANSI
echo: arj
to: HANS MANGOLD
from: STEPHAN HRADEK
date: 1997-03-01 22:09:00
subject: Sorting Files

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.