📄 e032. listing the file system roots.txt
字号:
UNIX file systems have a single root, `/'. On Windows, each drive is a root. For example the C drive is represented by the root C:\.
File[] roots = File.listRoots();
for (int i=0; i<roots.length; i++) {
process(roots[i]);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -