Standard system commands
- Last Updated: February 9, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Where possible, use standard system commands instead of variants unique to certain hardware manufacturers. The following table lists the OS statements that promote portability by avoiding limitations of operating-system-specific commands. These statements allow you to create a single version of a procedure that works differently on varying operating systems.
| OS statement | Description |
|---|---|
|
Performs a system call to execute the operating system command that appends two files. |
|
Performs a system call to execute an operating system command that you specify. |
|
Performs a system call to execute the operating system command that copies a file. |
|
Performs a system call to execute the operating system command that creates a new directory. |
|
Performs a system call to execute the operating system command that deletes a file or directory. You can delete one or more files, a directory, or an entire directory branch. |
|
Performs a system call to execute the operating system command that returns a comma-separated list of the available drives in Windows. |
|
Returns an OpenEdge error code that
indicates whether an execution error occurred during the last
OS-APPEND, OS-COMMAND, OS-COPY, OS-CREATE-DIR, OS-DELETE, or OS-RENAME statement. |
|
Performs a system call to execute the operating system command that returns a string containing the value of the specified environment variable in the environment in which OpenEdge is running. |
|
Performs a system call to execute the operating system command that renames a file or directory. |
See the ABL Reference for more information on these statements.