Every directory except for the top-level root directory is a subdirectory of at least one directory. The list of parent directories of a directory or file is called its path.
The following is an example of a file's path, including its parent directories, in Microsoft Windows.
In the following example path in a Linux operating system, public_html is a subdirectory of computerhope, which is a subdirectory of c, etc. The special root folder / is the only directory that is not a subdirectory, because it has no parent directory.
Like a subdirectory, a subfolder is any folder that is a child of another folder. In the example below, Fonts and System32 are subfolders of the Windows folder.
How do I create a subdirectory or subfolder?
You can create a subfolder from Microsoft Windows or another GUI by opening the folder containing the subfolder and creating a new folder. For example, if you had a folder called "Games" and you wanted to create a subfolder named "Doom" in the Games folder, move into the Games folder and then create a new folder called "Doom."
To create a subdirectory from a command line, change to the directory that will be holding the subdirectory and create a new one (similar to above example). Alternatively, you could create a subdirectory in another directory using the full path. For example, using the Windows command line mkdir command, you could create the subdirectory "doom" in the "games" directory by typing "mkdir games\doom" at the command line.