Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

ChangeDirectory – PB Docs 2021 – PowerBuilder Library

ChangeDirectory – PB Docs 2021

ChangeDirectory

PowerScript function

Description

Changes the current directory.

Syntax

Argument

Description

directoryname

String for the name of the directory you want to set as
the current directory

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:

See also

CreateDirectory

GetCurrentDirectory


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x