ChangeDirectory
PowerScript function
Description
Changes the current directory.
Syntax
|
1 |
ChangeDirectory ( directoryname ) |
|
Argument |
Description |
|---|---|
|
directoryname |
String for the name of the directory you want to set as |
Return value
Integer.
Returns 1 if the function succeeds and -1 if an error occurs.
Examples
This example changes the current directory to the parent directory
of the current directory and displays the new current directory in a
SingleLineEdit control:
|
1 2 |
ChangeDirectory( ".." ) sle_1.text= GetCurrentDirectory( ) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest