>>>I would like to call Windows Explorer from my application
>>>in the Win 95 environment. Any advise on how to go about?
>>>Thanks.
>>
>>The simple way is to call RUN /N c:\windows\explorer.exe - you may consider using the API to get the windows directory first.
>
>It's unnecessary; the Windows and Windows System directories are on the Windows seach path, so the program will be found. Using run fires it in the context of the current working directory.
Hmm. Ignoring the fact that it's unnecessary, I'd have sworn there was a native VFP function to return the Windows directory, a SYS() function if not one with a more 'friendly' name. But I just went searching in help and couldn't find any such thing. Was I having another psychotic episode? (* sigh *)
Rich
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing