MS-DOS check folder size

This command will list the size of a given directory:

dir "c:\users\yourNameHere" | find "(s)"

This command will copy directories (and contents) and the /v switch will verify that the destination files are identical to the source files:

xcopy "source\dir\path" "destination\dir\path" /v

Here is documenation about xcopy command and switches.


Download du.exe from SysInternals. Slap that on a USB drive and run this from your cmd prompt. This will allow you get a complete listing of all subfolders with sizes. For example, you could run: du /accepteula desktop to get the size of the desktop folder. (You'll need the /accepteula param to suppress the EULA dialog that normally comes up when you run this.)