Explanation
NAME Statement
Renames a file or directory.Worth knowing
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
NAME oldspec$ AS newspec$ |
oldspec$ and newspec$ | The name of an existing file and the new name for the file. Each name may include a path. |
INPUT "Old Name: "; OldFN$
INPUT "New Name: "; NewFN$
NAME OldFN$ AS NewFN$
See also: | FILES |