Solved

Syntax for copying from My Documents folder

Posted on 2006-11-20
1
326 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
1 Comment
 
LVL 95

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Using dates in 'DOS' batch files has always been tricky as it has no built in ways of extracting date information.  There are many tricks using string manipulation to pull out parts of the %date% variable or output of the date /t command but these r…
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…
This video discusses moving either the default database or any database to a new volume.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

746 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

15 Experts available now in Live!

Get 1:1 Help Now