home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1996 May
/
psl-monthly-shareware-cdrom-vol4-no5.iso
/
filesbbs
/
comb_bbs.bat
next >
Wrap
DOS Batch File
|
1996-03-25
|
917b
|
44 lines
@echo off
if .%1==. goto prompt
goto doit
:prompt
echo
echo syntax: COMB_BBS [destination drive, path, and file name]
echo example: COMB_BBS C:\FILES.BBS
echo (NOTE: You MUST enter drive and path, as well as file name)
echo
goto done
:doit
if not exist %1 goto Ok
echo
echo %1 already exists. Press Ctrl-Break to abort or
pause
:Ok
cd dos
echo Reading \FILESBBS\DOS directory:
..\combine *.* %1 DOS\ /A
cd ..\win
echo
echo Reading \FILESBBS\WIN directory:
..\combine *.* %1 WIN\ /A
cd ..\os2
echo
echo Reading \FILESBBS\OS2 directory:
..\combine *.* %1 OS2\ /A
echo
cd ..\COMM_DOS
echo Reading \FILESBBS\COMM_DOS directory:
..\combine *.* %1 COMM_DOS\ /A
echo
cd ..\COMM_WIN
echo Reading \FILESBBS\COMM_WIN directory:
..\combine *.* %1 COMM_WIN\ /A
echo
cd ..
echo
echo ---DONE---
echo Press ENTER to view %1 or Ctrl-Break to quit.
pause
..\view %1
:done