back to Command Reference
NAME
[FX-870P/VX-4]
Purpose
Rename a file on floppy disk.
NAME "old file descriptor" AS "new file descriptor"
Example
NAME "0: TEST.BAS" AS "0: NEW.BAS"
Parameters
- old file descriptor: String expression specifying the current filename.
- new file descriptor: String expression specifying the new filename.
Explanation
- Renames the file specified by the old file descriptor to the name
specified by the new file descriptor.
- An error is generated if the old file does not exist, or if a file with
the new name already exists.
See