>>>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