General information
Category:
Coding, syntax & commands
Title:
IF Directory('c:\winnt\system32') is incorrect
I have a program compiled in VFP6 SP5 that tests if the system32 folder exists off of the windows home folder with code like:
cWinFolder = "c:\winnt\system32"
IF DIRECTORY(cWinFolder)
ELSE
ENDIF
On some Windows 2000 SP4 PCs, the IF statement is returning false when the directory definitely exists.
What could be confusing the DIRECTORY() function?
Are there windows security levels that keep users from messing with their PCs that would essentially hide the folder from the DIRECTORY() function?
Is there a good alternative to the DIRECTORY() function?
Thanks,
Jeff
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