Tag: Windows

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:\>

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 configure the look and feel of the windows desktop. For example , you can change the display resolution , change wallpaper or screensaver etc. How to open display properties from command line in Windows 10 ? You can open the display settings screen by right clicking on…

How to mark a file as read-only from command line in Windows 10 ?

You can set a file to a read-only mode from the command line by using the command attrib and passing in the parameters like the read-only mode and the name of the file. The format of this command is as follows attrib +R  <Name of the the file> How to mark a file as read-only from command line in Windows 10 ? For example ,…

How to Open Network Connections from Command line in Windows 10 ?

You can use the ncpa.cpl command to open the network connections from command line in Windows 10. How to Open Network Connections from Command line in Windows 10 ? Just open the command window and type ncpa.cpl and press the enter key to open the network connections dialog. Alternatively , the ncpa.cpl command can also be used in the Run window. Press Windows + R…

How to delete folder from command line in Windows 10 ?

You can delete a directory or folder using the command “rmdir” from commandline in Windows 10. How to delete folder from command line in Windows 10 ? The syntax for deleting the folder in windows 10 is rmdir <name of the directory> Incase you want to delete the non-empty folder , you can use the parameter /s for the rmdir command. Below is an example…

How to create a file from a Command line in Windows 10 ?

There are two command that you can use to create a file from a command line in Windows 10. These include – echo – fsutil How to create a file from a Command line in Windows 10 ? The fsutil command can be used to create a file  by specifying the size but if you need to write a data to the file during its…