QB64.com

QB64 is a modern extended BASIC programming language that retains QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for Windows, Linux, and macOS.

The NAME statement changes the name of a file or directory to a new name.

Syntax

NAME oldFileOrFolderName$ AS newFileOrFolderName$

Description

Example(s)


NAME "BIGBAD.TXT" AS "BADWOLF.TXT"

See Also