home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format 15
/
af015.adf
/
Canary
/
Make-Turkey-files
< prev
next >
Wrap
AmigaDOS Script File
|
1978-01-08
|
2KB
|
57 lines
.key drive,dest
.bra {
.ket }
.def drive DF0:
.def dest DF0:
echo "Creating Turkey! files list from {drive} TO drive {dest}."
resident >NIL: c:list
resident >NIL: c:if
resident >NIL: c:else
resident >NIL: c:endif
resident >NIL: c:ask
resident >NIL: c:echo
echo "*nThis operation will overwrite the existing list on {dest}"
ask "Are you sure you want to do this?"
if not warn
echo "Cancelled: Exiting"
skip end
endif
if {drive} EQ {dest}
echo "Insert SOURCE (Workbench1.3) disk into drive {drive}"
ask "Press Return when ready"
endif
echo >RAM:FileList " Check here vvvvvvv*n"
list >>RAM:FileList {drive}C/#? files nohead dates
list >>RAM:FileList {drive}T/#? files nohead dates
list >>RAM:FileList {drive}DEVS/#? files nohead dates
list >>RAM:FileList {drive}DEVS/clipboards/#? files nohead dates
list >>RAM:FileList {drive}DEVS/keymaps/#? files nohead dates
list >>RAM:FileList {drive}DEVS/printers/#? files nohead dates
list >>RAM:FileList {drive}L/#? files nohead dates
list >>RAM:FileList {drive}LIBS/#? files nohead dates
list >>RAM:FileList {drive}EMPTY/#? files nohead dates
list >>RAM:FileList {drive}SYSTEM/#? files nohead dates
list >>RAM:FileList {drive}UTILITIES/#? files nohead dates
list >>RAM:FileList {drive}FONTS/#? files nohead dates
if {drive} EQ {dest}
echo "Insert DESINATION disk into drive {drive}"
ask "Press Return when ready"
endif
copy ram:FileList {dest}Canary/Canary-Files2
lab end
resident >NIL: c:list remove
resident >NIL: c:if remove
resident >NIL: c:else remove
resident >NIL: c:endif remove
resident >NIL: c:ask remove
resident >NIL: c:echo remove