Products Downloads


French version


 

 

This function moves a file to a new destination. It fails if the destination file already exists.

 

Context

  • Windows client,

  • Windows server,

  • Java client,

  • Java server,

  • Adelia Web client,

  • Adelia Cloud client,

  • Event Adelia client.

 

Parameters

ALPHA(n)

SourceFile

Source file name.

ALPHA(n)

DestFile

Destination file name.

BOOL

Successful

Return code.

*TRUE if the function was performed successfully.

Output parameter.

 

Example

ALPHA(256)

File1

ALPHA(256)

File2

BOOL

OK

 

* moves file 'c:\temp\test.txt' to 'd:\temp\test.txt'

File1

= 'c:\temp\test.txt'

File2

= 'd:\temp\test.txt'

CALL_DLL

'VaToolBx' 'VaToolBxMoveFile' File1 File2 OK

IF NOT OK

 

* Error processing...

END

 

 

 

List of the VaToolBx functions by topic

 

↑ Top of page


  • Aucune étiquette