Windows DOS Tricks
Copy a folder and retain its permissions:
xcopy c:\sourcedir c:\newdir /o /x /e /h /k
For command-history in DOS press F7
Grep for Windows:
type file.txt|find "search text"
Files can be dragged and dropped onto the command window for their full path to be inserted.
tree c:\ >ctree.txtRename the title bar of the DOS Window:
title "new title"