Navigation:  thinBasic Modules > File >

FILE_Rename

Previous pageReturn to chapter overviewNext page

 

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

 

 

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com