net share ShareForder=c:\AppDataBackup
master..xp_cmdshell 'net use \\10.10.50.212\ShareForder UserPassword /user:DomainName\UserName'
backup database PNC1 to disk='\\10.10.50.212\ShareForder\Database.bak'
net share ShareForder /delete
net share ShareForder=c:\AppDataBackup
master..xp_cmdshell 'net use \\10.10.50.212\ShareForder UserPassword /user:DomainName\UserName'
backup database PNC1 to disk='\\10.10.50.212\ShareForder\Database.bak'
net share ShareForder /delete