At the dos prompt (c:>), type md then a space, then the name of the folder you want to create. Example md foldername
To take or copy documents using MS-DOS, you can use the COPY command. For example, if you want to copy a file named "document.txt" from the C: drive to a folder on the D: drive, you'd type COPY C:\document.txt D:\folder\. Make sure to navigate to the directory where the file is located using the CD command if needed.
To create a folder without using a mouse, you can use keyboard shortcuts. In Windows, navigate to the location where you want the folder using the arrow keys, then press Ctrl + Shift + N to create a new folder. In macOS, open Finder to the desired location and press Command + Shift + N to create a new folder. You can then name the folder using the keyboard.
The COPY command
in cmd type "md FileName" in the directory you want the folder. md= Make Directory. And where FileName is you would put what ever name you wanted.
You can make a folder with batch by using the command: md Foldername Example: @echo off md WikiAnswers exit The batch file would make a folder named WikiAnswers, and it would appear on your desktop
compact
To delete the folder named "cfsdadfawd," you can use the command line or a file explorer. In Windows, open Command Prompt, navigate to the folder's location using the cd command, and type rmdir /s /q cfsdadfawd. In macOS or Linux, open Terminal, navigate to the folder's location, and use the command rm -rf cfsdadfawd. Alternatively, you can right-click the folder in a file explorer and select "Delete."
I am not aware of any way to lock access to a folder directly using command prompt, but there are alternative similar methods. There is an excellent post on the "Computer Tips From A Computer Guy" weblog, that details how to make a folder work as a link to the Control Panel (locked), or simply open and show the contents (unlocked). His method involves using a batch file to change windows reference to the folder. He also provides an alternative method using a 3rd party freeware application called Free Hide Folder, which hides the folder completely, the only way to restore it is open the application and provide a password.
Run program.exeorthe name of the program, with or without .exe (if the command prompt is in the same directory/folder of the executable)
mkdir directory-name
To create a folder on an external hard drive double click on the hard drive's icon and select New Folder from the Finder's File menu.
we can create a con folder in pc by using ms-dos create a con folder in C-drive by typing mkdir<space>\con\<press enter>... now u can see the folder con created in C-DRIVE OR ANY DRIVEs.. we can remove using rmdir<space>\con\<press enter>.............