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

You've gotten answers elsewhere in this thread: I just wanted to point out that some people *hem hem* have been known to rename their windows directory when installing, so the WSH SpecialFolders collection is probably the best way to go here, if you can count on it being installed.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform