Hi,
What is the kixtart syntax to mount a drive matching to the following batch command:I want the servername to be a variable also.

NET USE V: \\%SERVERNAME%\C$ /user:BIGMAN PASSWORD

I tried something like

USE V: "\\" + $machine + "\c$" " /user:administrator" " /password:"

but it doesn't work!!!!!!!!!

Thanks fo the answer