home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1995 April
/
pslmonthlyvol3-4utilitiesapril1995.iso
/
filesbbs
/
comb_bbs.bat
next >
Wrap
DOS Batch File
|
1995-03-07
|
998b
|
47 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
cd ..\HOME_dos
echo
echo Reading \FILESBBS\UTIL_DOS directory:
..\combine *.* %1 UTIL_DOS\ /A
cd ..\UTIL_win
echo
echo Reading \FILESBBS\UTIL_WIN directory:
..\combine *.* %1 UTIL_WIN\ /A
cd ..
echo
echo Reading \FILESBBS\ALL_OS2 directory:
..\combine *.* %1 ALL_OS2\ /A
cd ..
echo
echo ---DONE---
echo Press ENTER to view %1 or Ctrl-Break to quit.
pause
..\view %1
:done