home *** CD-ROM | disk | FTP | other *** search
- @Echo Off
- rem:
- rem: OneLiner v1.50 (Batch File)
- rem:
- rem: Make sure IST-TRIM.EXE & ANSTRIP.COM are in your %PATH%
- rem: Also, make sure to edit *ALL* paths to suit your systems needs!
- rem:
- rem:--------------------------------------------------------------------------
- rem: Defaults: C:\LOGS\ONELINER.LOG = PROGRAM LOG
- rem: : C:\RA\ENGLISH\TXTFILES = PATH OF RA'S TEXTFILE
- rem: : C:\RA\ONELINER.ASW = OUTPUT (ANSWER FILE) OF ONELINER.Q-A
- rem:--------------------------------------------------------------------------
-
- :START
- cd\ra
- if not exist c:\logs\oneliner.log goto MAKELOG
- if exist c:\ra\oneliner.asw goto TYPEIT
- exit
-
- :TYPEIT
- type c:\ra\oneliner.asw >> c:\logs\oneliner.log
- ist-trim c:\logs\oneliner.log 1 B
- ist-trim c:\ra\english\txtfiles\onemid.ans 1 T
- ist-trim c:\ra\oneliner.asw 3 T
- copy c:\ra\english\txtfiles\onemid.ans + c:\ra\oneliner.asw c:\ra\english\txtfiles\onemid.ans >nul
- del c:\ra\english\txtfiles\onemid.asc
- anstrip <c:\ra\english\txtfiles\onemid.ans> c:\ra\english\txtfiles\onemid.asc
- del c:\ra\oneliner.asw
- goto START
-
- :MAKELOG
- Echo > c:\logs\oneliner.log
- Echo ---------- ·■[ OnELiNER v1.50 ]■· [Program Log] >> c:\logs\oneliner.log
- Echo >> c:\logs\oneliner.log
- goto START
-