#include<stdio.h>
#include<conio.h>
#include<windows.h>
int main()
{
CreateDirectory("C:\\Users\\Tareq\\Desktop\\ComputerScience",NULL); //create folder "ComputerScience" in desktop
CreateDirectory("C:\\Users\\Tareq\\Desktop\\ComputerScience\\SF",NULL);//create another folder "SF" inside ComputerScience folder
printf("file created");
getch();
}
A sub folder is when you put a folder in another folder and a sub level folder is when you put more than one sub folder in another sub folder.....
There are a number of ways. Probably the simplest is to open a folder window (My Computer or Windows Explorer) for the folder in which you want to create a sub-folder. Right click in a blank area of the file list pane, and move the mouse to New. Select Folder in the sub-menu. A sub-folder called New Folder, with the name highlighted (selected), will be created. Type the name you want for your sub-folder, then press Enter. This will replace New Folder as the name of the sub-folder.
C:\ is the root directory C:\folder\ is sub directory
You can make about 5 sub-sub folders in another folder.
The sub folder is a folder inside the file folder. For example... The "Sample Pictures" folder is a sub folder to the "My Pictures" folder. It's pretty straight forward and simple...so hope that helps?
sub folder.
Use function mkdir.
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>.............
Go to the C: drive and right click. go to new and hit folder.
Yes. The one inside is called a sub-folder.
Are you asking how do you "rename" the C drive? or how to place a folder in C drive named Kenya?
At the dos prompt (c:>), type md then a space, then the name of the folder you want to create. Example md foldername