NanoTech-kw · Tech Guide Library

TYPE CMD (Display File Contents)

Windows · CMD

Print the contents of a text file to the console. Syntax: type [file]

Step-by-step

  1. Open Command Prompt (press Win+R, type cmd, and press Enter)
  2. Syntax: type [file]
  3. Brief: Print the contents of a text file to the console.
  4. Example: type hosts
  5. Tip: Pipe to more to page large files: type big.txt | more.

Reference: learn.microsoft.com

Open in the NanoTech-kw library →