There are actually two execute files, i.e. xcopy & xcopy32. If in real DOS and type xcopy...., it is a 16 bit program that will only copy 8.3 file names and no LFNs. If in a DOS window in Windows, and type xcopy...., xcopy32 actually runs and will copy LFNs. Also the switches are different between xcopy and xcopy32 even if you type xcopy in a DOS window.
That was the cause of the confusion on Kenny's part way back when with Roy. Xcopy32 switches: xcopy c:\*.* d:\NewData1\*.* /m/s/c/h/r/k/v (my batch file command) : : XCOPY32 (or just xcopy if in a DOS window) source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/W] : [/C] [/I] [/Q] [/F] [/L] [/H] [/R] [/T] [/U] : [/K] [/N] : : /A Copies files with the archive attribute set, doesn't change the attribute. : /M * Copies files with the archive attribute set, turns off the archive attribute. : /D:date Copies files changed on or after the specified date. : If no date is given, copies only those files whose : source time is newer than the destination time. : /P Prompts you before creating each destination file. : /S * Copies directories and subdirectories except empty ones. : /E Copies directories and subdirectories, including empty ones. : Same as /S /E. May be used to modify /T. : /W Prompts you to press a key before copying. : /C * Continues copying even if errors occur. : /I If destination does not exist and copying more than one file, : assumes that destination must be a directory. : /Q Does not display file names while copying. : /F Displays full source and destination file names while copying. : /L Displays files that would be copied. : /H * Copies hidden and system files also. : /R * Overwrites read-only files. : /T Creates directory structure, but does not copy files. Does not : include empty directories or subdirectories. /T /E includes : empty directories and subdirectories. : /U NR Updates the files that already exist in destination. : /K * Copies attributes. Normal Xcopy will reset read-only attributes. : /Y NR Overwrites existing files without prompting. : /-Y Prompts you before overwriting existing files. : /N Copy using the generated short names. : /V * Verifies after copy ----- Original Message ----- From: "Rick Glazier" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, May 03, 2005 6:14 AM Subject: Re: Easiest, fool-proof way for a fool to create a backup clone :) > From: "Wayne Johnson" > > I know Kenny thought that there was a bug in Xcopy because > > it acted different from DOS than in did from a DOS Box [window]. > > Lots of things worked different in a situation like that. > Isn't one real mode, > and the other protected mode/realmode simulation/virtualization? > (I think a dos box was the first "example" of virtualization that I remember.) > It is sort of similar to the way a cold boot is much better than a warm one... > (And some types of "re-start" being the least effective as far as cleaning things up...) > -- ---------------------------------------- WIN-HOME Archives: http://PEACH.EASE.LSOFT.COM/archives/WIN-HOME.html Contact the List Owner about problems: [EMAIL PROTECTED] Unofficial Win-Home List Members Profiles Page http://winhome.wavijo.com/
