Site Overlay

8. Creating a Folder with CMD

You can follow the steps below to create folders with CMD.

image
1. Start > Run > Enter CMD >
image 2
2. Whichever directory you want to create a folder in, switch to that directory and type the following command.
mkdir NEWFOLDER

Deleting a Folder with CMD

image 3
1. Whichever directory is to be deleted, navigate to that directory and type the following command.
rmdir /s NEWFOLDER

Creating Files with CMD

image 5
1. Switch to whichever directory you want to create a file into, and then type the following command.
mkdir METINBELGE.txt

Deleting Files with CMD

image 4
1. Switch to whichever directory you want to delete the file in, and then type the following command.
rmdir TEXTDOCUMENT.txt
image 3
Arif Akyüz Content Producer Cyber Security Expert

Arif Akyüz
Content Producer & Cyber Security Expert
[email protected]