This function removes a directory.
It will fail if the specified directory is not empty.
Context
Windows client,
Windows server,
Mobile client,
Mobile server,
Java client,
Java server,
Adelia Web client,
Adelia Cloud client.
Parameters
ALPHA(n) |
Directory |
Directory name. E.g.: 'c:\temp\mydir' |
BOOL |
Successful |
Return code. *TRUE if the function was performed successfully. Output parameter. |
Example
ALPHA(256) |
Directory |
BOOL |
OK |
|
|
* creates the 'c:\temp\test' directory |
|
Directory |
= 'c:\temp\test' |
CALL_DLL |
'VaToolBx' 'VaToolBxRemoveDirectory' Directory OK |
IF NOT OK |
|
* Error processing… |
|
END |
|