in reply to How do I Map Windows Network Drive
You can also do this with a system call to the NET command.
system("NET USE driveLetter \\\\Path\\to\\resource");
Use double backslashes if you use double quotes in the system call. ( \\ = \ )
There are also many other NET functions, you can get a list by typing "NET HELP" at the command prompt.
And remember to taint/untaint!
John J Reiser
newrisedesigns.com
|
|---|