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

RemoveDirectory – PB Docs 2022 – PowerBuilder Library

RemoveDirectory – PB Docs 2022

RemoveDirectory

PowerScript function

Description

Removes a directory.

Syntax

Argument

Description

directoryname

String for the name of the directory you want to remove.
If you do not specify an absolute path, this function deletes
relative to the current working directory.

Return value

Integer. Returns 1 if the function succeeds and -1 if an error
occurs.

Usage

The directory must be empty and must not be the current directory
for this function to succeed.

Examples

This example removes a subdirectory from the current
directory:

See also

DirectoryExists

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