Did it work?
Is this a fair restatement of the command:
net use x: \\MACHINE\SHARE /user:USER PASS /persistent:yes
REM MACHINE == NetBIOS name of remote machine
REM SHARE == name of SMB share on MACHINE
REM USER == user name on MACHINE
REM PASS == user pasword on MACHINE
MACHINE is running Win or *nix + Samba.