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

Published on July 28, 2016 by abundantcode

Filed under Windows

Last modified July 28, 2016

Print this page

rate 1 star rate 2 star rate 3 star rate 4 star rate 5 star
Your rating: none, Average: 0 (0 votes)

This article have been viewed 4270 times

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 a Comment


x

You might be Interested in these Posts

How to delete user account from command line in Windows 10 ?

You can delete a user account from command line in Windows 10 using the net user command and specify...

How to add new user account from command line in Windows 10 ?

You can add a new user account in Windows 10 using command prompt using the net user command and pas...

How to open display settings from command line in Windows 10 ?

The display properties can be found in the settings app in Windows 10 which lets the users to config...