The following example demonstrates using the Listroots () method of the File class to output all root directories of the system:/* Author by w3cschool.cc Main.java */import java.io.*;class main{public Stati c void Main (string[] args) {file[] roots = File.listroots (); SYSTEM.OUT.PRINTLN ("System all root directory:")
1. Java instance-View the system root directory
Summary: The following example demonstrates the use of the Listroots () method of the File class to output all root directories of the system:
2. Destoon Two introductory sample _php tutorial
Introduction: Destoon Two-time development primer sample. Destoon is the preferred solution for the open source business-to-business (e-commerce) portal based on Php+mysql. In this paper, the two development of Destoon is described as follows: first, the initialization system contains the system root directory
3. Imperial CMS directory structure sharing, Imperial CMS Directory _php Tutorial
Description: Empire CMS directory structure sharing, Imperial CMS directory. Empire CMS directory structure sharing, Imperial CMS directory/system root ├d/attachment and data storage directory (│├file/) attachment directory │├js/js call generate directory │└txt/content
4. Empire CMS directory structure sharing, Imperial CMS directory
Description: Empire CMS directory structure sharing, Imperial CMS directory. Empire CMS directory structure sharing, Imperial CMS directory/system root ├d/attachment and data storage directory (│├file/) attachment directory │├js/js call generate directory │└txt/content
5. Simple URL routing control [PHP]
Description: No detailed content no define (' Base_path ', DirName (__file__). Directory_separator);//system root directory define (' Module_path ', Base_path. ' Modules '). Directory_separator);//module Directory $module = Empty ($_get[' m ')? ': Strtolower ($_get[' m '); Folder $control = emp
"Related question and answer recommendation":
How to cancel git initialization for a directory