Map network

hendrikbez

Honorable
Mar 22, 2012
5
0
10,510
I am trying to map network and copy files to D:\Backup\Sql_Backup, but I am getting only help

How can I sue this with spaces in my folders


net use R: \\000.00.0.00\Program Files\Microsoft SQL Server\MSSQL\BACKUP"
cd\
echo off
R:
cd \
Xcopy . /D /I /F /E /Y D:\Backup\Sql_Backup
net use R: /delete /y
exit
 
the first line should read:

net use R: "\\000.00.0.00\Program Files\Microsoft SQL Server\MSSQL\BACKUP"


also why don't you share the "\\000.00.0.00\Program Files\Microsoft SQL Server\MSSQL\BACKUP" folder as Backup and then it should read:

net use R: \\000.00.0.00\Backup

is 000.00.0.00 a placeholder for the address of the computer or the name?