This function changes the current directory.
Context
Windows client,
Windows server,
Adelia Cloud client,
Event Adelia client.
Parameters
ALPHA(n) |
CurrentDirectory |
Current directory. Output parameter. |
BOOL |
Successful |
Return code. *TRUE if the function was performed successfully. Output parameter. |
Note on Java support:
Because it is not possible to dynamically change the value of the 'user.dir' system property, VaToolBxSetCurrentDirectory is not supported with Java.
Note on Mobile support:
As the concept of "current directory" does not exist with Windows Mobile, VaToolBxSetCurrentDirectory is not supported.
Example
ALPHA(256) |
Directory |
BOOL |
OK |
|
|
* Changes the current directory to 'c:\temp' |
|
Directory |
= 'c:\temp' |
CALL_DLL |
'VaToolBx' 'VaToolBxSetCurrentDirectory' Directory Ok |
IF NOT OK |
|
* Error processing... |
|
END |
|
List of the VaToolBx functions by topic