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