Can you make your own directory each time? Then just create a series of file names and put them in there? Would only be one call for DIRECTORY() to see if the dir is already there.
>Hi,
>I have a routine that needs to create a series of random files but make sure
>that each one is unique. But each time I test for uniquesness with if File(thisFileName),
>it takes some time to check the disc drive. Therefore, should I include a brief wait period
>before or after checking for each file?
>Thanks
>Steve Elster
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown