Re: DIR () & hidden things
- Posted by mattlewis (admin) Sep 26, 2011
- 1483 views
Really "DIR()" does not work with hidden folders in WIN7. Does not work using the routine DIR () of Euman. and also does not work if you're using the Euphoria 4.0.3
Maybe a lot has changed in the Windows platform and there are new things that do not work with Euphoria.
For example: Using "DIR C:\" in the prompt's Windows console, the folder "Documents and Settings" does not appear as <DIR>, but appears as <JUNCTION>
I still do not know how to list hidden files and folders on Win7
Does anyone know anything about it?
I don't recall how it was implemented before v4, but on Windows, we use the standard Windows API: FindFirstFile and FindNextFile.
I don't know what these do with things like junctions or reparse points, but the data structures seem to have stuff about them, so I'd guess that it's able to deal with them. Can you be more specific about what exactly you're doing? By this, I mean, please give more details about the hidden folder, and how you're calling dir() so that it appears to fail.
Matt