Wednesday, 9 January 2013

Save A List of Files to a Text File by Extension in cmd

dir *.pdf /s /b > files.txt


Get Your IP Address Information
ipconfig /all

Get Installed Driver Information


Copy Files Via Infrared Port

irftp filename.ext


Find Files Opened By Network Users

openfiles /query

6. Monitor Port Activity
    
netstat -a 30

7. Recover Information From A Corrupt File

recover filename.ext
8. Defragment Remote Computer

rexec remotePC defrag C: /F 

9.Retrieve Detailed System Information
systeminfo


10. Automatically Defragment C: Daily

schtasks /create /tn "Defrag C" /tr "defrag c: /f" /sc daily /st 23:00:00 /ru "System" 

11. Map A Drive Letter to a Folder

subst W: C:\windows

12. List All Tasks Running On The Computer
tasklist 

13. Kill A Program

taskkill /im programname.exe /f 

No comments:

Post a Comment