QBasic 1.1: NAME Statement

Syntax

NAME oldspec$ AS newspec$

Description / Parameter(s)

oldspec$ and newspec$ The name of an existing file and the new name for the file. Each name may include a path.

Example

INPUT "Old Name: "; OldFN$ INPUT "New Name: "; NewFN$ NAME OldFN$ AS NewFN$