Change working directory

Command group Flag affected Reversible Execute on client Platform(s)
External commands YES NO NO Windows,Linux


Change working directory (pathReturns err-code


Note: The flag is set according to whether Omnis was able to make a call to this external command.

This command changes the current directory in use under Windows or Linux. Wild cards are not allowed with this command.

On Windows, Change working directory only switches directories on the same drive, not between drives.

It returns an error code (See Error Codes), or zero if no error occurs.


Change working directory ("c:\omnis\html") Returns lErrCode ;; windows
Change working directory ("/omnis/html") Returns lErrCode ;; linux