Command Prompt Tutorial : Codes For CMD

Опубликовано: 18 Апрель 2024
на канале: B Learning Club
1

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:


Смотрите видео Command Prompt Tutorial : Codes For CMD онлайн без регистрации, длительностью 09 минут 47 секунд в хорошем hd качестве. Это видео добавил пользователь B Learning Club 18 Апрель 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1 раз и оно понравилось людям.