home *** CD-ROM | disk | FTP | other *** search
- /******************************************************/
- /* PictureCopy.rexx $VER: 1.0 (24.06.96) for PicView */
- /* (C) 1996 Holger Papajewski papa@ami.boerde.de */
- /******************************************************/
-
- OPTIONS RESULTS
- ADDRESS "PICVIEW.1"
-
- CALL ADDLIB('rexxreqtools.library',0,-30,0)
-
- dir = rtfilerequest(,,'Select Destination For Pictures',,'rtfi_flags = freqf_nofiles' 'rtfi_initialpath = ""')
-
- GETNEXTSELECT START
- num = result
- DO WHILE num ~= -1
-
- GETPICDATA num FILE
- source = '"' || result || '"'
- GETPICDATA num NAME
- dest = '"' || dir || result || '"'
-
- ADDRESS COMMAND
- 'copy' source dest
-
- ADDRESS "PICVIEW.1"
- GETNEXTSELECT
- num = result
- END
-
-
-