Difference between revisions of "DOS"
From SpenchWiki
(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...') |
(WinDbg) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
<pre> | <pre> | ||
> log.txt 2<&1 | > log.txt 2<&1 | ||
+ | foo 2>&1 | bar | ||
</pre> | </pre> | ||
Line 19: | Line 20: | ||
* /D: update if missing/newer | * /D: update if missing/newer | ||
* /C: ignore errors | * /C: ignore errors | ||
+ | |||
+ | == WinDbg == | ||
+ | |||
+ | * !process | ||
+ | * lm | ||
+ | * .reload | ||
+ | * !peb | ||
+ | * .imgscan -l -r 10000 l?7fff0000 | ||
+ | |||
+ | * http://www.codeproject.com/KB/debug/windbg_part1.aspx#_Toc64133681 | ||
+ | * http://windbg.info/doc/1-common-cmds.html |
Latest revision as of 23:31, 11 March 2010
Redirection
- stdout and stderr:
> log.txt 2<&1 foo 2>&1 | bar
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
WinDbg
- !process
- lm
- .reload
- !peb
- .imgscan -l -r 10000 l?7fff0000