Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding the folder in which windows is installed
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00612787
Message ID:
00612825
Views:
26
>>>Is there a way to determine the directory in which windows was installed, be it NT, 2000 or Win9x from VFP 6. Can this be determined also from a batch a file and how ?
>>>
>>>Chris
>>
>>? GETENV("windir")
>
>See Message #597064.

Different question, Sergey. That was the system directory, not the Windows directory.

FWIW, SET WINDIR returns the Windows directory from the command prompt. However, in this day the WSH could be used.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform