Solved

robocopy or bat for backup files without a mapping

Posted on 2015-02-11
2
205 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 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

When you receive another warning that your shared drive is almost full and you have asked your users to clean out old files again and again, here is a single command that may help. This command will place all the files that have not been used rec…
This article was inspired by a question here at Experts Exchange (http://www.experts-exchange.com/Software/Photos_Graphics/Images_and_Photos/Q_28629170.html). The requirements stated in that question are (1) reduce the file size of a large number of…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

840 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