Current directory

The most important environment for all tools is the current directory. The current directory is the base search directory where the tool starts to search for files (e.g., for the default .env or .hidefaults)

Normally, the current directory of a launched tool is determined by the operating system or by the program that launches another one (e.g., IDE, Make Utility, etc.).

For the UNIX operating system, the current directory for an executable is also the current directory from where the binary file has been started.

For MS Windows-based operating systems, the current directory definition is quite complex:

To overwrite this behavior, the DEFAULTDIR: Default current directory system environment variable may be used.

The current directory is displayed among other information with the -V: Prints the Assembler version assembler option and in the About box.