Command Prompt Tutorial : Codes For CMD

Publicado el: 18 abril 2024
en el canal de: B Learning Club
35
2

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:
   / @blearningclub  


En esta página del sitio puede ver el video en línea Command Prompt Tutorial : Codes For CMD de Duración hora minuto segunda en buena calidad , que subió el usuario B Learning Club 18 abril 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 35 veces y le gustó 2 a los espectadores. Disfruta viendo!