How to read file contents from command line in Windows 10 ?

You can use the command “type” in the command line to read the contents of the text file in Windows 10.

How to read file contents from command line in Windows 10 ?

Lets say , you want to print the contents of the file d:\ac.txt.

Below is the command that you will be using.

type d:\ac.txt

D:\>type ac.txt
Welcome to abundantcode.com
D:\>
image

Leave Your Comment

Liked this content?. Please spread the word :)