KIX 3.61. Having a problem getting random numbers out of RND. Want to use the results to pull files out of a directory to update McAfee files from but am getting the same number generated each time. Here is the code (note the tag file vscan95.tag which controls running this or not):


If EXIST ("C:\Program Files\Network Associates\McAfee VirusScan\vscan95.tag")
ELSE
SRND(5)
$McAfee = RND(5)
Copy "\\NTAPP1\APPS\BackWeb\Vscan\Win95\" + $McAfee + "\*.*" "C:\Program Files\Network Associates\McAfee VirusScan\"
endif


Thanks for any help,

Pete Carstensen