home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beijing Paradise BBS Backup
/
PARADISE.ISO
/
software
/
BBSDOORW
/
SNWS191S.ZIP
/
DIRNEWS.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-08-25
|
430b
|
10 lines
@echo off
rem 93-08-25 Daniel Fandrich
rem Displays a directory, which, if it is a SNews NEWSBASE directory, will
rem contain the newsgroup name and be sorted in order by size.
rem The output is gross, but it's better than just the file names!
rem Requires sed and MS-DOS ver. >= 5.0
sed "s/^\([^ ]*\) \([^ ]*\).*$/s@\2@\1 \2@/" ..\active > %temp%dirnews.$$$
dir /os *. | sed -f %temp%dirnews.$$$
del %temp%dirnews.$$$