When we use /savecred
switch we should not give the credentials in the same line. The correct command should be:
net use P: \\server\folder /savecred /persistent:yes
It will ask for username and password.
When we use /savecred
switch we should not give the credentials in the same line. The correct command should be:
net use P: \\server\folder /savecred /persistent:yes
It will ask for username and password.