I'm simply trying to find the right syntax to pass the following command to cmd.
net use P: "\\s0501svm1\home\John Smith"
If I type the below then it doesn't work, presumably because the double quotes aren't being passed.
Shell ("cmd.exe /k net use P: \\s0501svm1\home\John Smith")
Any ideas?