NAME

name - rename a file

SYNOPSIS

name FileSpec as FileName

DESCRIPTION

The file identified by FileSpec is renamed FileName.  FileSpec is a file specification.  FileName will be the new filename.  The file specified by FileSpec must exist and any path name specified for FileName must also exist or an error will result.  Name has the same effect as the mv shell command in UNIX. 

EXAMPLE

The program
	name "accts" as "bills"
changes the name of the file "accts" to "bills". 

SEE ALSO

files

from The Basmark QuickBASIC Programmerís Manual by Lawrence Leinweber