Command Prompt Tutorial : Codes For CMD

Subscribers:
3,730
Published on ● Video Link: https://www.youtube.com/watch?v=8vCSdQfFg9M



Game:
Prompt (2015)
Category:
Tutorial
Duration: 9:46
18 views
0


Basic command prompt tutorial


1. **cd (Change Directory)**:
- Usage: `cd [directory]`
- Explanation: Used to change the current working directory. You can specify the directory you want to navigate to after the `cd` command.

2. **dir (Directory Listing)**:
- Usage: `dir [directory]`
- Explanation: Lists the contents of the specified directory. If no directory is specified, it lists the contents of the current directory.

3. **mkdir (Make Directory)**:
- Usage: `mkdir [directory name]`
- Explanation: Creates a new directory with the specified name.

4. **rmdir (Remove Directory)**:
- Usage: `rmdir [directory name]`
- Explanation: Deletes the specified directory. Note: the directory must be empty for this command to work.

5. **del (Delete)**:
- Usage: `del [file name]`
- Explanation: Deletes the specified file.

6. **copy**:
- Usage: `copy [source] [destination]`
- Explanation: Copies one or more files from one location to another. You specify the source file(s) and the destination directory.

7. **move**:
- Usage: `move [source] [destination]`
- Explanation: Moves one or more files from one location to another. It's similar to the `copy` command, but it also removes the original file.

8. **ren (Rename)**:
- Usage: `ren [current file name] [new file name]`
- Explanation: Renames a file or directory to the specified new name.

9. **echo**:
- Usage: `echo [text]`
- Explanation: Prints text to the command prompt or can be used to redirect output to a file.

10. **type**:
- Usage: `type [file name]`
- Explanation: Displays the contents of the specified text file.

11. **cls (Clear Screen)**:
- Usage: `cls`
- Explanation: Clears the command prompt window.

12. **ipconfig (IP Configuration)**:
- Usage: `ipconfig`
- Explanation: Displays the TCP/IP network configuration information for the computer.

13. **ping**:
- Usage: `ping [host]`
- Explanation: Sends a network ICMP echo request to a specified host to test if it is reachable and measure round-trip time.

14. **tasklist**:
- Usage: `tasklist`
- Explanation: Displays a list of all running processes on the computer.

15. **taskkill**:
- Usage: `taskkill /PID [process ID]` or `taskkill /IM [image name]`
- Explanation: Terminates a running process. You can specify the process ID or the image name.

These are just a few of the many commands available in the Windows Command Prompt. Each command has additional options and parameters that you can explore using the `/?` option, e.g., `dir /?` for directory listing command options.


Join this channel to get access to perks:
https://www.youtube.com/channel/UCJdXMYn7RaOv8QAsBj1b96Q/join







Tags:
command prompt
cmd
codes for cmd
codes for command prompt
tutorial for cmd
tutorial for command prompt
basic computer
window tutorial



Other Statistics

Prompt Statistics For B Learning Club

At present, B Learning Club has 18 views spread across 1 video for Prompt, with his channel publishing less than an hour of Prompt content. This makes up less than 0.41% of the total overall content on B Learning Club's YouTube channel.