Solved

robocopy or bat for backup files without a mapping

Posted on 2015-02-11
2
189 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
2 Comments
 
LVL 83

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

You may have already been in the need to update a whole folder stucture using a script. Robocopy does it well and even provides a list of non-updated files in a log (if asked to). Generally those files that were locked by a user or a process by the …
I have published numerous articles here at Experts Exchange that present programs/scripts written in a language called AutoHotkey. Each of those articles has a brief paragraph describing where to download the product and how to install it. I have al…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

911 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now