not in ohio
|reply to Razzy12345 |
Re: [WIN7] Copy complete directory tree
The avoidance mechanism is "it's stupid, don't set it up like that".
If the question was about detecting stupidity...
If you own code that need to traverse the file system, you can likely do your own loop detection ("this is a symlink, have I seen it before in this path?").
I believe Posix systems place a limit on the number of symbolic links the kernel will traverse in path resolution. Offhand, I'd suppose that could work in Windows too.
|reply to koam | said by koam:
Does anyone know if this is likely to work?
You should have stated your objective in the first post. I needed to move profiles in W7 so I could use Deep Freeze on the C: drive. I did this a couple of years ago, so my memory of the event is not very fresh. Here is the process I was able to condense after reading the 3 tutorials linked below. You might find some new tips in those tuts.Using Registry Editor
To accomplish this using Registry editor, follow these steps:
· Create the destination folder first
· Click Start, Run and type Regedit.exe
· For per-user special folders, navigate to the following location:
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ User Shell Folders
· For per-system special folders, navigate to the following location:
HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ User Shell Folders
· Double-click the corresponding shell folder name
· Change the Value data accordingly, mentioning the destination path
· Close Regedit.exe
. In Safe Mode, "Move" the user data folders from the original folder to the new folder using Windows "Drag and Move". When prompted about the .ini files tell it to move them too.
The final "Move" operation is performed in safe mode while logged into a different profile than the one you are moving.
|reply to koam |
Do this for each library Music, Pictures, Documents etc...
You have to create a new folder first, it don't have to be the same name as the old location folder.
I have also heard you should be able to just Drag and drop the My Documents folder to Move it. But i would just use the move button like explained below.
Go back to the default Library in Windows Explorer
Right click on the the respective "My" * folder for each Library section (eg., for Documents, right click on My Documents)
Click on Properties
Click on Location
Click on Move button
Select the respective folder from your D drive (eg., the new My Documents folder you just created)
Apply - Ok
Note: If you a part of a homegroup, then you will need to change the homegroup settings to no longer share the user folder (ex: My Music) that you want to move first by unchecking the folder and clicking on Save Changes.
Thanks. I've already put my libraries over to the Y: drive.
However i just tried to use your directions above.. After clicking Properties on the Library section, I don't see "Location".. and no Move button (though I remember that from other Windows versions)
I'm running Win 7 64-bit.
YOU can help reduce poverty, sustainably.
Here's a nice GUI for Robocopy that might at least make it easier for you to change settings until you get it right.
»Software FAQ »workablob's CopyRite XP
I may have been born yesterday. But it wasn't at night.