Copy a folder and retain its permissions:
xcopy c:\\sourcedir c:\ ewdir /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.
The native equivalent of TreeSize for DOS:
tree c:\\ >ctree.txt
Rename the title bar of the DOS Window:
title "new title"
- Performing functions via the command line (Windows)
- Dos Tricks and Shortcuts - The Ethical Hacking
- Command Line Kung Fu