Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mapping and Unmapping
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00137678
Message ID:
00137759
Views:
20
>>>>That works great. Now, how do make the new drive mapping part of the search path?
>>>
>>>Aye, there's the rub.
>>>
>>>Well, how about RUNning a DOS set path ... no, that was the original problem.
>>>I can only suggest that you add a path entry to say... T: in your path, then as you map the drives that you want to search , always use T:
>>
>>That's the problem. I am at the mercy of a NW Login script, and I have to find a way to do this so the new setting scopes to the currect command session environment. So I am hoping to find a DLL way of doing this.
>
>Why not jsut rewrite the DOS PATH environment string. You need to make sure that you don't exceed the total space allotted to the environment string space, but the API calls are pretty trivial.

Yeah, but I am looking for the DLL code to add this drive mapping to the PATH environment string.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform