CreateDirectory
PowerScript function
Description
Creates a directory.
Applies to
File system
Syntax
|
1 |
CreateDirectory ( directoryname ) |
|
Argument |
Description |
|---|---|
|
directoryname |
String for the name of the directory you want to |
Return value
Integer.
Returns 1 if the function succeeds and -1 if an error occurs.
Examples
This example creates a new subdirectory in the current path and then
makes the new subdirectory the current directory:
|
1 2 3 4 |
string ls_path="my targets" integer li_filenum CreateDirectory ( ls_path ) li_filenum = ChangeDirectory( ls_path ) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest