Kevin,
I see. Just tested that with the same result. I can think of two possible solutions:
1) Change the attribute of the directory temporarily to non-hidden. Do your cleanup and set the attribute back. But maybe this is prevented by some security settings.
2) You could check out if the VFP file operation commands you want to use can get into the folder using the full path to the files you want to manipulate. If that doesn't work either, there might be some API functions, that could do that. But I don't know if they really can.
HTH,
Armin
>Thats places the names of all into an array, but I still can't CD into
>a hidden folder.
>
>For example, I have:
>
>DIMENSION aFolders[1]
>nTotal = ADIR("aFolders", "*.*", "DHS")
>>
>nTotal now has 18, only 4 of which are NOT hidden. So If I try
>
>CD (aFolders[15,1])
>>I get the 'Invalid path or file name' error. Element 15 has the
>name "RECENT" in it, which is a hidden folder.
>
>I want to be able to go into the Recent folder and clean up files.