Skip to main content

DOS Commonly Used Commands

MS DOS - Microsoft Disk Operating System

List directories only

DIR /AD
-A: Attribute
-D: Directory

List files older than 30 days

FORFILES /D -30

Search for test.doc file, or *.doc files

dir /s test.doc
dir /s *.doc

Run cipher.exe to wipe free space on C: drive or D: drive (about cipher.exe)

cipher /w:c:
cipher /w:d:

System Boot Time

systeminfo | find "System Boot Time"

Popular posts from this blog

GitHub CLI

GitHub CLI brings GitHub to your terminal. Free and open source. Official website: https://cli.github.com

IBM Domino: Exprired password

Your account is locked out if you do not change your expired password. IBM Notes: Password is expired Account is locked out when password is expired Example of password policy