Important Commands of Command Prompt
In this blog I'll mention some of the important commands which will be mostly used in Java:
cd:
This command is used to exit the folder
E: (Drive name)
This command is used to jump from one drive to another drive
cd folderName:
This command is used to enter inside a specific folder with this command we have to pass a folder name
md/ mkdir folderName:
This command is used to create a new folder or directory. With this command, we have to pass a new folder.
dir:
This command is used to list all the things which are present inside a current folder or drive
assoc:
This command is used to display or change the file type association with a particular file exetention
copy:
This command is used to copy one or more files from one location to another
date:
This command is used to show or change the current date
del:
This command is used to delete one or more files
find:
This command is used to search for a specified text string in one or more files
find sts:
This command is used to find text string patten in one or more files.
format:
This command is used to format a drive in file system that you specify
stp:
This command is used to transfer files to and from another computer
DriverQuery:
This command is used to show a list of all installed drivers
Delete folderName:
This command is used to delete the folder name
Subscribe to my newsletter
Read articles from Gautami Shetty directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by