RemoveDirectory – PB Docs 126

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 Values

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


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