Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IF Directory('c:\winnt\system32') is incorrect
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
IF Directory('c:\winnt\system32') is incorrect
Divers
Thread ID:
00825793
Message ID:
00825793
Vues:
57
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
Fil
Voir

Click here to load this message in the networking platform