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
Storage

Avatar of undefined
Last Comment
wbstech

8/22/2022 - Mon
Callandor

xcopy /a /c /e /h /k /s drive1: drive2:
Pete Long

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
daniel_rowbottom

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
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
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
stevenlewis

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
wbstech

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

Many many thanks