This function moves a file from its current location to the location specified in the second parameter.

 

Syntax:

MoveFile( CurrentFilePathFileName, NewFilePathFileName )

 

Parameter:

Description:

CurrentFilePathFileName

The file's current address.

NewFilePathFileName

Destination address for the file.

 

Example:

CopyFile( "c:\correlation.htm", "c:\corr2.htm" )
DeleteFile( "c:\correlation.htm" )
MoveFile( "c:\corr2.htm", "c:\corr3.htm" )
OpenFile( "c:\corr3.htm" )

Returns:

File relocated to its new address.

 

Links:

CopyFile, DeleteFile, EditFile, Extract, FileExists, FileSize, OpenFile

See Also:

General, File & Disk

 


Edit Time: 9/25/2017 09:09:54 AM


Topic ID#: 429

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software