Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Obter Diretorio Windows System no Win 2000
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00642317
Message ID:
00643072
Vues:
17
Nesse caso eu acho que o API é necessario.
Meu comspec é c:\windows\system32\cmd.exe (no WinXP é o mesmo no Win2000)

>Aqui o
>
>? JUSTPATH(GETENV("Comspec"))
>
>Não funcionou, pois meu comspec esta setado para:
>
>c:\windows\system
>
>o que faz retornar:
>
>c:\windows
>
>Assim, seria a mesta coisa que GETENV("windir"), que na verdade me retorna o local de instalação do windows, mas não o system dele (32 ou não por ex.), que eu saiba isso só pela API.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform