Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding windows root directory
Message
 
 
To
17/12/1997 16:44:04
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00066726
Message ID:
00066731
Views:
42
>>I need to be able to load up all of the windows printers from the win.ini file. I can do this by parsing the win.ini file, but how can I get the windows root directory using a foxpro command?
>>
>>TIA
>>Paul
>
>In VFP3, there was a function called winhome() in the foxtools.fll
>which might have been available in FP26W.

I don't see WinHome() in VFP3 FoxTools, but there is always GETENV("WINDIR") because Windows set an environment variable equal to the Windows directory.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform