home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 19
/
AACD19.BIN
/
CDTools
/
Players
/
HippoPlayer
/
ARexx
/
CopyList.hip
< prev
next >
Wrap
Text File
|
1997-07-08
|
1KB
|
49 lines
/******************************************************/
/* */
/* CopyList (C) Tomasz Kepa 8.VII.1997 */
/* ` */
/* $VER: V1.0 */
/* */
/* This script allows copying the whole module */
/* list to selected location. */
/* */
/* No docs this time!! =] */
/* */
/* The script is partially based on CopyFileReq */
/* by Marcel Doering (ReqTools requester...) */
/* */
/******************************************************/
/* call addlib('rexxreqtools.library', 0, -30, 0) */
options results
address 'HIPPOPLAYER'
CURRENT=1
get NFIL /* how many modules in list? */
NO = result
if NO = 0 then
do
say 'Module list is empty. Nothing to copy :-)'
exit
end
else
do
DESTINATION = ''
/* DESTINATION = RTFileRequest(,, "Pick a directory", "Go_!", "rtfi_flags = freqf_nofiles") */
do while CURRENT <= NO
choose CURRENT
get CNAM
NAME = result
say 'Copying file "'NAME'"...'
address command 'Copy "'NAME'" TO "'DESTINATION'"'
CURRENT = CURRENT + 1
end
end