home *** CD-ROM | disk | FTP | other *** search
- @Echo OFF
- Rem Parameters passed from Maple RBBS
- Rem This View bat is for use with Bshow...
- Rem Create a file Called NOVIEW.? (? = Node number) if you do NOT wish to
- Rem allow viewing of a certain file extension or do NOT support it
- Rem this file is created in the subdir were Command.Com can be located
-
- Rem %1 = complete Drive/subdir/filename to view
- Rem %2 = name of ArcWorkFile (ARCWORK?.DEF)
- Rem %3 = Comport in use
- Rem %4 = Extension to View
- Rem %5 = NodeId
-
- Rem following line bypasses extension checking and lets Bshow do the work
- goto view
-
- Rem if you want to filter the extensions comment out above line!
- If %4 == ARJ GOTO VIEW
- IF %4 == ZIP GOTO VIEW
- IF %4 == LZH GOTO VIEW
- IF %4 == ARC GOTO VIEW
- IF %4 == PAK GOTO VIEW
- IF %4 == DOC GOTO VIEW
- IF %4 == TXT GOTO VIEW
-
- rem Create the NoView file incase we missed something up above
- echo . > E:\RBBS\NOVIEW.%5
- GOTO EXIT
-
- :VIEW
- BSHOW %1 /p%3 /w%2 /c /m10 /l500 /t90 /i23
- :EXIT