void cd( | dirname); |
String
dirname;Changes the working directory of the BeanShell interpreter
to dirname.
void cp( | fromFile, | |
toFile); |
String
fromFile;String
toFile;Copy fromFile to
toFile.
void dir( | dirname); |
String
dirname;Displays the contents of directory
dirname. The format of the display is
similar to the Unix ls -l command.
void mv( | fromFile, | |
toFile); |
String
fromFile;String
toFile;Moves the file named by fromFile to
toFile.
File pathToFile( | filename); |
String
filename;Create a File object corresponding
to filename. Relative paths are resolved
with reference to the BeanShell interpreter's working
directory.
void pwd( | ); |
Writes the current working directory of the BeanShell interpreter to the output stream of the current process.
void rm( | pathname); |
String
pathname;Deletes the file name by
pathname.