>>-snip-
>>
>>>That works great. Now, how do make the new drive mapping part of the search path?
>>
>>Hidy Mark,
>>
>>Which search path are you talking about? DOS, the network, or VFP's?
>>
>>As a side note, I don't recommend using one drive for a particular server. The user may already have that drive mapped. What I suggest is to get a free drive specifier (using GetLogicalDrives() API call) and using that.
>
>Yeah, I am trying to map an additional search path to a network volume. I have a routine to cycle through to see what drive letter(s) are available, pick one, and map it. That works fine. What I need to do next is add this to the search path env variable. When I exit, I remove the mapping with no problem.
>
>My problem is I do not know enough about figuring out DLLs and how to know what to call, syntax, etc.
Mark,
DOS search path? Isn't the VFP path sufficient? That, I know, you know how to modify on the fly. Or is this for a non-VFP application?
BTW, I see it's gotten (at least recently) a bit cooler in your neck of the woods.
George
Ubi caritas et amor, deus ibi est