RENAMEFILE

RENAMEFILE is used to rename a file.

Syntax:

RENAMEFILE oldfilename, newfilename
 

Discussion:

This keyword requires two file names, defined as literal string expressions in quotes or as string variables. The file oldfilename is renamed newfilename.

Example:

RENAMEFILE AFILE$, BFILE$
 

Related Keywords:

COPYFILE

DELETEFILE

Next: