General information
Category:
Coding, syntax & commands
>Certain system folders are not directly accessible (VFP doesn't seem to like >to change into a directory with the System attribute set), but you can >manipulate the contents. What do you need to do? For example, to get a list of >the files in C:\WINDOWS\FONTS, you can do something like:
>DECLARE aFiles[1,5]
>nFiles = ADIR(aFiles,'C:\WINDOWS\FONTS\*.*','SH')
Geez. I thought that ADIR required me to change to the directory I wanted to get information about... Don't I feel like the Idiot!
Thanks. That solves my problem.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only