Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Syntax for copying from My Documents folder

Posted on 2006-11-20
1
Medium Priority
?
381 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 1000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

609 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