Home >Common Problem >Where is the root directory?
The root directory refers to the top-level directory of the logical drive. Open "My Computer" and double-click the C drive to enter the root directory of the C drive. Double-click the D drive to enter the root directory of the D drive; and so on. The root directory is created when the file system is created, and its purpose is to store directory entries for subdirectories (also called folders) or files. A "directory tree", the most fundamental part of the tree is its root (root directory).
The root directory refers to the top-level directory of the logical drive, which is relative to the subdirectory. Open "My Computer", double-click the C drive to enter the root directory of the C drive, double-click the D drive to enter the root directory of the D drive. Other analogies.
The root directory is created when the file system is created. Its purpose is to store directory entries for subdirectories (also called folders) or files. A "directory tree", the most fundamental part of the tree is its root (root directory).
Note:
Due to the prevalence of U disk viruses nowadays, it is best not to double-click the root directory of the U disk. Instead, it is recommended to right-click the U disk icon, and then Select "Open" to enter the root directory, or select the address of the USB flash drive from the address bar to open it!
Example of website root directory:
For example: abc/file2/3.txt
abc/ is the root directory.
file2 is the first-level directory of the website. There is a "/" which is the first-level directory (not counting the last one). 3.txt is the second-level directory file of /file2/.
The above is the detailed content of Where is the root directory?. For more information, please follow other related articles on the PHP Chinese website!