OS-CREATE-DIR statement
Executes an operating system command from within ABL that creates one or more new directories.
Syntax
dirname
VALUE (expression
)ExampleThe following procedure prompts the user for the name of a directory, then creates it. If the name you give is not fully qualified, the directory is created in your current directory.
Notes
- The directory name must conform to the naming conventions of the underlying operating system.
- If a specified directory cannot be created, ABL returns an error code.
- Although an error can occur during execution of this statement, the statement does not generate an error message, raise an error condition, or affect the program’s flow in any way. Check for an execution error by using the OS-ERROR function and evaluating the return.
See also
OpenEdge Release 10.2B
|