Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Network Paths...
Message
From
23/12/1999 12:58:03
 
 
To
23/12/1999 12:39:42
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00307414
Message ID:
00308034
Views:
27
>As usual, you go into great detail on your explanations, far more than I. I was making an assumption that the setup of the current system involved a config file of some type that had a record with "Datapath = L:\MyData". In this case, modifying to UNC to support non-standard drive mappings is cake, since you modify the record for UNC. Then your only concern is if you have multiple servers, and not all users are connected to the necessary ones.
>
>I'm amazed at the power of the WSH. I haven't used it yet, but will soon. I have to run some old DOS code on a new NT network till I get the s/w rewritten. The DOS code is run thru Direct Access Menu that sets up mappings on the fly. I think the simplest thing to do is set up WSH scripts that will emulate the Direct Access batch files.
>

Very likely; I don't know Direct Access, so I can't really say. Since you can write your script in VBScript or JScript (or both) and access virtually any COM Object you like in the script, I can't think of anything that I can do with a batch file I can't do at least as well with Windows Scripting, especially since, if you get stuck, you can always run the old batch file using WScript.Shell, which has a Run method...
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform