home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1998 #6
/
amigamamagazinepolishissue1998.iso
/
coders
/
arexx
/
c_rexx
/
ssb
next >
Wrap
AmigaDOS Script File
|
1996-11-13
|
566b
|
32 lines
.key Filename
.bra {
.ket }
; This command is used to make a Batch-file like this Executable.
;
; It does this by setting the Script-Protection bit on the file.
failat 10
if "{Filename}" eq ""
skip freak
endif
if not exists {Filename}
ECHO "File:{Filename} does not exist..."
skip Xend
ENDIF
if {Filename} not EQ ""
ECHO "Setting script bit on {Filename}."
PROTECT {Filename} S ADD ALL >NIL:
skip END
endif
lab freak
echo "Required argument missing."
lab END
Echo "You just used SSB v2.1 by Warp oh' GiGA Prod..."
; Tue Nov 28 23:38:50 1995...
Lab Xend