Solved

robocopy or bat for backup files without a mapping

Posted on 2015-02-11
2
193 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

If like me you are one who spends a lot of time working and scripting with cmd.exe, sometimes it is handy to be able to quickly view a calendar for a given month and year. This script will quickly do just that!  Save the code posted below to a .bat …
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

813 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

16 Experts available now in Live!

Get 1:1 Help Now