home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 9
/
FreshFishVol9-CD2.bin
/
bbs
/
util
/
golded-1.1.lha
/
GoldED
/
data
/
tools
/
HiSpeed
/
arexx
/
Fast.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-05-27
|
724b
|
52 lines
/* copy all jobs to T: (usually placed in RAM:) to speed up operation */
options results
shell
address HISPEED.1
SET REQUESTER ON
QUERY JOBS
if RESULT = 0 then
REQUESTFILE
QUERY JOBS
JOBS = RESULT
if JOBS > 0 then
do
/* generate temporary copies in directory T: */
if ~Exists("T:FAST") then do
shell
MAKEDIR 'T:FAST'
address HISPEED.1
end
do N = 0 to JOBS - 1
QUERY JOBNAME N
parse var RESULT PATH NAME REST
JOB.N = NAME
PATH.N = PATH || NAME
TEMP.N = "T:FAST/" || NAME
shell
COPY PATH.N TEMP.N
address HISPEED.1
end
/* redirect list entries */
CLR
do N = 0 to JOBS-1
SET FILE TEMP.N
end
end