home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Doom Fever
/
Doom_Fever-1995_Maple_Media.iso
/
wad
/
makefile.bas
< prev
next >
Wrap
BASIC Source File
|
1994-10-13
|
877b
|
51 lines
CHDIR "D:\"
OPEN "miscutil.lst" FOR INPUT AS #2
WHILE NOT EOF(2)
INPUT #2, zipfile$
nod = 0
ON ERROR GOTO nodiz1
op$ = "E:\miscutil\" + zipfile$ + "\FILE_ID.DIZ"
OPEN op$ FOR INPUT AS #3
ON ERROR GOTO 0
CLOSE #3
try2:
ON ERROR GOTO nodiz2
op$ = "E:\miscutil\" + zipfile$ + "\DESC.SDI"
OPEN op$ FOR INPUT AS #3
ON ERROR GOTO 0
CLOSE #3
try3:
ON ERROR GOTO 0
IF nod > 1 THEN GOTO skip
sh$ = "COPY E:\miscutil\" + zipfile$ + "\*.* D:\TEMP"
SHELL sh$
CHDIR "D:\TEMP"
sh$ = "PKZIP " + zipfile$
SHELL sh$
SHELL "MOVE d:\temp\*.ZIP D:\dmutil"
KILL "D:\TEMP\*.*"
contwen:
WEND
skip:
CHDIR "D:\TEMP"
SHELL "copy d:\*.bas d:\temp"
KILL "D:\TEMP\*.*"
GOTO contwen
nodiz1:
nod = nod + 1
PRINT "NO DIZ FILE AT FIRST ATTEMPT!!!!!"
RESUME try2
nodiz2:
nod = nod + 1
PRINT " NO DIZ FILE AT SECOND ATTEMPT THIS SUCKS!!!!!"
RESUME try3