Lack of spaces between switches is not a syntax error! XCopy itself lists the switches as having spaces.
"xcopy C:\ D:\ /r /i /c /h /k /e /y /s /o /n" Should copy all of C: to D: including ownership & ACLs with original short names. Wayne Johnson wrote: > At 07:54 PM 3/27/2008, Joe User typed: >> Hello, >> >> Back in the day - xcopy source destination /r /i /c /h /k /e /y > > Sorry but your command line is in error if you're putting spaces between > the switches. I used that command line just a couple of days ago & it > worked well. I'm assuming that we're talking about XP here. I also > have to agree that xxcopy has more options plus the benefit of keeping > short file names straight which xcopy may not do if you have similar > folder names such as your fav [drive]:Program Files/Norton/this & > [drive]:Program Files/Norton that may get . > > > ----------+---------- > Wayne D. Johnson > Ashland, OH, USA 44805 > <http://users.zoominternet.net/~wdjvmj/> > > ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
