I&#039m trying to access a particular a random file from the files collection of the Scripting.Folder object. I can read the files if I skip through in For Each .. Next method but I can&#039t get a result from files.Count or files(index). Here is a snippet of code:<BR><BR> set thefolder = fso.GetFolder(&#060;folder dir&#062;)<BR> set thefiles = thefolder.Files<BR> Randomize<BR> fileNum = Int(thefiles.Count * Rnd)<BR> set thefile = thefolder.Files(fileNum)<BR>or even<BR> set thefile = thefolder.Files(1)<BR><BR>Any advice?<BR><BR>Thanks.