Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
NAME Statement QuickSCREEN
◄QuickSCREEN► ◄Details► ◄Example► ◄Contents► ◄Index►
──────────────────────────────────────────────────────────────────────────────
NAME - a statement that uses DOS to change the name of a disk file
or directory
Syntax
NAME oldfilename AS newfilename
■ oldfilename, a string expression, is the name of an existing file.
■ newfilename, a string expression, must be a filename that does not
exist
Tip: oldfilename and/or newfilename may contain a pathname. If the path
in oldfilename is different than the path in newfilename, the NAME
statement moves the file and renames it. Both files must be on the
same drive.