Link to home
Create AccountLog in
Avatar of wbstech
wbstech

asked on

Xcopy

Can Anyone tell me the old way of copying data HDD to HDD without ghost??? Xcopy command if I remember rightly
Avatar of Callandor
Callandor
Flag of United States of America image

xcopy /a /c /e /h /k /s drive1: drive2:
warning by default this WONT copy permissions

I think you mean xcopy /s   (inclusing subfolders)

though robocopy is better

Copy Files/Folders with permissions and ACL’s

***Command Line Tools***

Back in the days of NT4 we used to use SCOPY for copying permissions and ACL’s with 2000 that functionality was put into XCOPY
/X copies the audit settings (as /a in SCOPY)
/O copies ACL information (same as SCOPY)
/S copies subdirectories (same as SCOPY)
But Robocopy is a much better solution
To copy files and maintain they’re NTFS permissions and more importantly their ACL (Access Control List) information. You can use Robocopy (Stands for Robust Copy)

This tool in available in the NT/2000/2003/XP resource kits and can also be downloaded here,
http://www.asia-links.com/biz/download/get.asp?productid=74&file=http://teknoweb.asia-links.com/download/robocopy.zip
Or direct from Microsoft (Full 2003 resource kit)
http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&displaylang=en

ROBOCOPY.exe usage and syntax
http://www.ss64.com/nt/robocopy.html
ROBOCOPY.exe (Win XP & .Net Resource Kit ) adds more functionality
http://www.ss64.com/nt/robocopyXP.html
0609 » A better way to replicate.
http://www.jsiinc.com/SUBB/tip0600/rh0609.htm
5409 » How do I use Robocopy to copy ACLs without copying data?
http://www.jsiinc.com/SUBK/tip5400/rh5409.htm

Also see
XXCOPY http://www.xxcopy.com/index.html#contents

***GUI Tools***

Secure Copy
http://www.smallwonders.com/securecopy/secure_features.htm
ASKER CERTIFIED SOLUTION
Avatar of daniel_rowbottom
daniel_rowbottom

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of wbstech
wbstech

ASKER

Wow that was quick, and Daniel your in there again, you've been good to me today..

I didnt want to use any external software, just the microsoft xcopy utility, and what daniel wrote sounds very familiar I am going to try that one first and hopefully I get success...

I will post results tmrw

Thanks all
I always use the /h /i /c /k /e /r /y switches
to see the switches go to a command prompt and type
xcopy /?
this will list all the switches and what they do
Avatar of wbstech

ASKER

Excellent Daniel those instructions worked perfectly, and I had to use Fdisk to activate the partition.

Many many thanks