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:

Popular posts from this blog

IIS: Delete cached files on server running IIS

Delete cached files on server running IIS When changing css, javascript files, check to delete if IIS still caches old files in the default folder C:\inetpub\temp\IIS Temporary Compressed Files\<sitename>\$^_gzip_D^\ Apply to: IIS 8.5

Linux command: du - disk usage

Where have all my storage gone? du summarize disk usage of the set of FILEs, recursively for directories.

ManageEngine ServiceDesk Plus - Reset password

Let's reset the default administrator's password to 'admin'