Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement