in reply to Moving folders to new directory location
I need to move C:\Documents and Settings\Ryan-Laptop(user) to the new location without compromising any files.
Then do as Corion suggested and use
system q[xcopy /E /O /K C:\Documents and Settings\Ryan-Laptop(user) U: +\newName];
as any other method (including Win32::CopyFile()), will compromise the files by not copying their security attributes (ACLs etc.).
Read the help for xcopy to find out why /O is important. You might also want /X
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Moving folders to new directory location
by rovf (Priest) on Jun 24, 2010 at 07:48 UTC |