robocopy or bat for backup files without a mapping

hi you experts
is any way to achive this

robocopy.exe \\contjd\c$\jorge diaz1\*.*  f:\ *.* /xf *.HLUTBTE /e /r:0 /w:0

in a bat command o robocopy command
i want to backup a directory without maping the folder
tsm
edo
ErnestoAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
oBdAConnect With a Mentor Commented:
robocopy has a different syntax than copy or xcopy; it requires first the source folder, then the target folder, then the file mask to copy (default if omitted is *.*. So try
Then paths with spaces need to be enclosed in double quotes:
robocopy.exe "\\contjd\c$\jorge diaz1"  f:\ *.* /xf *.HLUTBTE /e /r:0 /w:0

Open in new window

0
 
ErnestoAuthor Commented:
oh man tsm robocopy rules
0
All Courses

From novice to tech pro — start learning today.