What Is a 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, and double-click the D drive to enter the root directory of the D drive. Other analogies.

Root directory

It s important to note that since today
Root relative path: refers to the path from the site folder to the linked document. All public files on the site are stored in the root directory of the site. Every time ../ returns
Detailed case study [1]
abc / file2 / 3.txt
abc / is the root directory.
File2 is the first-level directory of the URL. A "/" is the first-level directory (not counting the last one), and 3.txt belongs to the second-level directory file of / file2 /.

IN OTHER LANGUAGES

Was this article helpful? Thanks for the feedback Thanks for the feedback

How can we help? How can we help?