DOS
From SpenchWiki
Revision as of 16:35, 12 February 2010 by Balint (talk | contribs) (Created page with '== Redirection == * stdout and stderr: <pre> > log.txt 2<&1 </pre> == XCopy == <pre> xcopy "D:\Dir" "W:\Dir" /E /G /H /K /Z /I /D /C </pre> * /E: copy dirs and subdirs * /G: c...')
Redirection
- stdout and stderr:
> log.txt 2<&1
XCopy
xcopy "D:\Dir" "W:\Dir" /E /G /H /K /Z /I /D /C
- /E: copy dirs and subdirs
- /G: copy encrypted files
- /H: hidden and system files
- /K: copy attriutes
- /Z: networked files in restartable mode
- /I: create destination dir if it doesn't exist
- /D: update if missing/newer
- /C: ignore errors