// Create a directory Directory.createdIRectory ("C: // Dir_name");
// Delete the directory Directory.delete ("C: // Dir_Name"); // or Directory.delete ("C: // Dir_Name", false); // When there is a file or subdirectory in the deleted directory, throw Exception, unless the second parameter is TRUE
// Judgment whether a directory is RESPONSE.WRITE (Directory.exists ("C: // Dir_Name");
// Time to get the directory response.write (Directory.getCreationTime);
/ / Returns the subdirectory string [] F1; F1 = Directory.getDirectories); // can also be written as F1 = Directory.getDirectories ("c: //", "w * * "); // E use both wildcard as conditional filtering this example is a directory that returns to the head
// Output for (int i = 0; i
// Return file F1 = Directory.getFiles in a directory ("c: //"); // can also be written as F1 = Directory.getFiles ("c: //", "w *. *"); / / E use both wildcard as conditional filtration This example is a file that is started with W
// Output for (int i = 0; i