FILE_Rename

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > File > FILE: functions working on files >

FILE_Rename

 

Description

 

Rename a file or a directory.

 

Syntax

 

n = FILE_Rename(Old_FileName, New_FileName)

 

Returns

 

Number.

0 means no errors.

 

Parameters

 

Name

Type

Optional

Meaning

Old_FileName

String

No

Original file name to be renamed

New_FileName

String

No

New name to assign to file

 

Remarks

 

Restrictions

 

See also

 

File Module,

 

Examples