- Command prompt is a windows command line interface.
- Allows to work in an environment that look like traditional operating system.
- Not user friendly and opposed to icon base windows environment.
- To lauch command prompt start-->Run-->type cmd.
Cmd Prompt Commands
1.dir
This command will list all the files and directories within the current directory.
Syntax: C:\>dir
2. cd foldername
This command will move you to the folder that you specify.
Syntax: C:\>cd directoryname
3. cd path
This command will move you to the specified path.
Syntax:C:\> cd PathOfTheFile
4. cd..
This command will move you up one directory.
Syntax:C:\directory\directory cd..
5. cd\
This command will take you to root directory.
Syntax:C:\directory\directory cd\
6. switchdrive
This command will take you to root directory.
Syntax:C:\directory\directory d:
7. mkdir
This command will create a new directory in the present directory.
Syntax:C:\directory\ mkdir newDirectoryName
8. move
This command will move the files from current directory to another directory.
Syntax:C:\directory\ move filename targetedDirectory
9. copy
This command will copy the files from current directory to another directory.
Syntax:C:\directory\ copy filename targetedDirectory
9. del
This command will delete the specified file from the directory.
Syntax:C:\directory\ del fileName
10. exit
This command will close or exit from command prompt window.
Syntax:C:\directory\ exit
11. ipconfig
This command will display all cuurent TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol (DHCP) and displays the IP address, subnet mask and default gateway for all adapters.
Syntax:C:\directory\ exit
12. tracert
This command show the path of packet of information takes from your computer to one specified.
Syntax:C:>\ tracert domainName
0 comments: