This -could- work as a substitute on a DHCP setup
- Code: Select all
oNetwork.MapNetworkDrive "z:", "\\computername\pronz", false, "username4", "password4"
assuming the computer name translates and is reachable using that method on your network. In the case of 2 machines on separate workgroups, or 1 machine on a domain and another on a workgroup, that may not always be the case.. specifically if the machine in question is of another OS type.
and in reference to the 'pronz' directory - nice catch.. I just did that on purpose to see who would see it and say something..
Haha. Excuses, excuses..
I worked it all out with the first script, cheers, everything is as smooth as it can be!
The only thing I'm wondering about in the script is the false as used here:
oNetwork.MapNetworkDrive "z:", "\\192.168.1.104\pronz", false, "username4", "password4"
I don't see what it does in this script, what would happen if I changed them all to true?
Second, I just booted Linux and a few other stuff from my USB-pen to see if it worked, and it all did.
But, it only saves to my RAM, as mentioned earlier in a few post back, so I have the option to install Linux or w/e other program I want to save things on, on my HDD, but I got all my HDD's in use, with a windows OS, so will it all crash if I install on one of them? Or will it just make another folder for it and everything will work as normal?