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

ManageEngine ServiceDesk Plus - Reset password

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

Install Microsoft .NET Core SDK

.NET Core Software Development Kit (SDK) is a set of libraries and tools that allow developers to create .NET Core applications and libraries.

VyOS: Upgrade system image

Let's upgrade VyOS system image 1.1.7 to 1.1.8 show system image add system image https://downloads.vyos.io/release/1.1.8/vyos-1.1.8-amd64.iso