Solved

Syntax for copying from My Documents folder

Posted on 2006-11-20
1
370 Views
Last Modified: 2008-02-01
In a prior question, expert helped me with the xxcopy command as a way to copy files from a damaged disk to an external drive. The xxcopy command died, seemingly after a certain number of failures. So I want to copy just the My Documents folder. But DOS thinks that My is a folder and Documents is a switch. What would be the correct syntax for this command. Here is what I type:

xxcopy G:\My Documents H:\GBackup /clone
0
Comment
Question by:cornell256
[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
1 Comment
 
LVL 96

Accepted Solution

by:
Lee W, MVP earned 250 total points
ID: 17985109
Use Quotes.

xxcopy "G:\My Documents" "H:\GBackup" /clone

(I would think this would work with xxcopy - though I never use it - I stick to robocopy and xcopy.... usually xcopy.)
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

VALIDATING DATES One method of validating dates is to jam the date into the DATE command and see if it accepts it by examining the system's errorlevel value. A non-zero result indicates failure. A typical example might look something like the fol…
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

690 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