Command Line Tricks 1. Find a file on your hard disk - (This beats the Search doggie in Windows) dir filename /s 2. Find a file on your hard disk without all the directory info goo - dir filename /s/b 3. Create a list of files, say your MP3s to share with a friend? (disclaimer: don't do this piracy crap) dir *.mp3 /b > filelist.txt 3. Find a directory - dir dirname /s /ad 4. Move between directories easily C:\Documents and Settings\Sahil Malik>pushd . C:\Documents and Settings\Sahil Malik>cd \ C:\>popd C:\Documents and Settings\Sahil Malik> 5. A better prompt for PushD and PopD via Craig Andrea. 6. Hit Tab for directory/filename compleition 7. Press F7 for a previous command list. User Cursor keys to select the command you need. 8. View all environment variables SET 9. View only system variables that start with W Set W 10. View a particular env. variable ECHO %WINDIR% 11. Find what process has opened what port netstat -noa 12. Widen your command prompt. mode 120,100 13. View your TCP/IP settings. netsh interface ip show config 14. Weird looking colors color 8f 15. Find a string in a list of files, for example "Foo" in all .cs files in your project tree: findstr /i /s "foo" *.cs (You might know that the windows search doggie does an awful job at search thru files, I think it just ignores files with recognized extensions, so .cs will be ignored YUK). 16. refresh the netbios nametables: nbtstat -R