Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Trying to pseudo-sync 2 computers - why folders renamed?

Windows 7 - new computer
Vista - old computer

I create a new folder OldComputerDesktop in C:\Users\joeblow.

I execute this:

robocopy.EXE \\us0003039-v004\c$\Users\joeblow\Desktop C:\Users\joeblow\OldComputerDesktop /XJ /E /NP >> syncfiles.log

When I look at C:\Users\joeblow with Windows Explorer and I see two Desktop folders - one is the "real"/original Desktop folder and the other is my folder originally named OldComputerDesktop but now is named Desktop. I verified this by right-clicking to see Properties and going to the Sharing tab (where I see the word OldComputerDesktop).

What explains this renaming behaviour? How do I prevent it?

share|improve this question
up vote 3 down vote accepted

This is because the Desktop folder is a "special" folder.

This is controlled by a hidden file inside the folder called desktop.ini

This tells Windows Explorer to show a different name than the actual folder name (it also specifies the special icon which is shown instead of the standard folder icon).

(You can prove this by opening Command Promt and running a dir command in the C:\Users\joeblow\ folder which will show the real folder names)

Because you have copied the desktop.ini file from Desktop into OldComputerDesktop Windows Explorer will read it and display the name as Desktop.

You can either delete the desktop.ini filer or edit it in Notepad or any other text editor and remove the line:


You also see this behaviour with Documents, Favourites, Pictures, Music, Videos (and others) being prepended with My in Windows Explorer.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .