Solved

robocopy or bat for backup files without a mapping

Posted on 2015-02-11
2
206 Views
Last Modified: 2015-02-11
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
0
Comment
Question by:edo60
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 84

Accepted Solution

by:
oBdA earned 500 total points
ID: 40604023
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
 

Author Comment

by:edo60
ID: 40604121
oh man tsm robocopy rules
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is pretty cool.  The purpose of this VB Script is to help you document where JAR (Java ARchive) files and specifically java class files are located so that you can address issues seen with a client or that you can speak intelligently with a dev…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question