Solved xcopy question for desktop folders

July 1, 2012 at 06:42:53
Specs: Windows 7
i want to use xcopy to copy files between folders on the desktop of my computer...i have tried various version of syntax without luck....
xcopy c:\my name\desktop\folder_1 c:\my name\desktop\folder_2

See More: xcopy question for desktop folders

Report •

#1
July 1, 2012 at 07:38:26
Xcopy is relatively ancient. Why would you want to use it ?
There's very little if any difference between the version of xcopy in Windows 7 and the version of xcopy in Win 95. The version in Win 95 is based on the last version of xcopy used in MsDos 6.x.


It can only be run in Command Prompt mode.

When you type xcopy /? there to see what it's syntax is (how you use it), it says

"NOTE: Xcopy is now deprecated, please use Robocopy."

To find out how to use Robocopy, type robocopy /? there
............


"xcopy c:\my name\desktop\folder_1 c:\my name\desktop\folder_2"

I assume you mean...

xcopy c:\(your user name)\desktop\folder_1 c:\(your user name)\desktop\folder_2

That won't work. You left out the Users folder name.

It should have been

xcopy c:\Users\(your user name)\desktop\folder_1 c:\Users\(your user name)\desktop\folder_2

That may NOT work if folder_2 doesn't already exist

If it did work, that would copy the whole folder and it's contents to

c:\Users\(your user name)\desktop\folder_2\folder_1

If c:\Users\(your user name)\desktop\folder_2 already exists

if you typed

xcopy c:\Users\(your user name)\desktop\folder_1\*.* c:\Users\(your user name)\desktop\folder_2\

that would copy the files and folders in folder_1 to folder_2

However, hidden and system files and folders in folder_1 may NOT be copied by default.
............

If you just want to copy the visible and not normally hidden files and folders in folder_1 to a folder_2,
....in Computer or Windows Explorer

- create the folder
c:\Users\(your user name)\desktop\folder_2

- go to
c:\Users\(your user name)\desktop\folder_1

- click once on a blank part of the folder contents

- select Organize in the top bar, then choose Select all

- if there is anything highlighted you don't want to copy, such as folders, hold down the Ctrl key and click once on whatever you want to de-select.
(However, DO NOT move the cursor at all while clicking - doing so will create a copy of whatever you click on in the same folder.)

- RIGHT click on any of the highlighted entries on the right, choose Copy

- go to
c:\Users\(your user name)\desktop\folder_2

- RIGHT click on folder_2, choose Paste



Report •

#2
July 1, 2012 at 07:51:54
using the syntax you posted...
xcopy c:\(your user name)\desktop\folder_1\*.* c:\(your user name)\desktop\folder_2\

it still does not copy from one folder to the other.


Report •

#3
July 1, 2012 at 08:09:17
✔ Best Answer
xcopy /i "c:\(your user name)\desktop\folder_1\*" "c:\(your user name)\desktop\folder_2"

How To Ask Questions The Smart Way


Report •

Related Solutions

#4
July 1, 2012 at 08:14:11
razor,

that does not work either


Report •

#5
July 1, 2012 at 08:16:48
what is your user name? It may not like spaces, I am wondering if that might be the issue. you might try enclosing it eg.

"c:\chuck 2012\desktop\folder_1\*.*" "c:\chuck 2012\desktop\folder_2\"
not sure how things roll on windows 7, as I use xp. seems like this may have been an issue some of the time though

edit: i really must learn to type faster, sorry razor..
:: mike


Report •

#6
July 1, 2012 at 08:40:33
mike,
that does not work either when i enclose the entire syntax. In windows 7 i wonder if it has to do with permissions being set..I tried the same exercise with the folders as part of c: and it works perfectly...the desktop presents a challenge for some reason.

Report •

#7
July 1, 2012 at 09:35:51
that does not work either
And what does it say when you try?

the desktop presents a challenge for some reason.
Presumably because your %UserProfile% isn't off of the C: root.

How To Ask Questions The Smart Way


Report •

#8
July 1, 2012 at 09:46:42
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\my user name>cd desktop

C:\Users\my user name\Desktop>test.bat

C:\Users\my user name\Desktop>xcopy "c:\my user name\desktop\folder_1" "c:\
my user name\desktop\folder_2"
File not found - folder_1
0 File(s) copied

Razor,
in the cmd window this is what I get


Report •

#9
July 1, 2012 at 10:01:28
From Explorer, can you navigate to "c:\my user name\desktop\folder_1"?

How To Ask Questions The Smart Way


Report •

#10
July 1, 2012 at 10:06:54
yes there is no problem to do that.

Report •

#11
July 1, 2012 at 10:07:48
yes it is possible

Report •

#12
July 1, 2012 at 10:26:35
And what does it show as the address?

How To Ask Questions The Smart Way


Report •

#13
July 1, 2012 at 10:38:20
genius Razor2.3 genius...:)

:: mike


Report •

Ask Question