

RENFILE() - Rename file
| Type
| Field
| Description
|
| string
| dOldName
| Filename of file to be renamed
|
| string
| dNewName
| New filename
|
PowerBuilder Function declaration
function int RENFILE(string dOldName, string dNewName) library "IFL16.DLL"
Visual Basic Function declaration
Declare Function RENFILE lib "IFL16" (ByVal dOldName As String, ByVal dNewName As String) As Integer
32 bit DLL declarations
PowerBuilder Function declaration
function int RENFILE(string dOldName, string dNewName) library "IFL32.DLL"
Visual Basic Function declaration
Declare Function RENFILE lib "IFL32" (ByVal dOldName As String, ByVal dNewName As String) As Integer
Example:
| dOldName
| =
| C:\TEMP\OLD.TXT
|
|
| dNewName
| =
| C:\TEMP\NEW.TXT
|
|
nonzero if not succesfully deleted