Handling Projects and Debugging from the Command Line

You can invoke the development environment and debugger from the command line as follows:

mfnetx [option]

where option is one of the following:

projname The name of a project (.app) file. The development environment opens and loads the projname project.
/debug:progname progname is the name of a COBOL program. The development environment opens, loads the program progname and starts animating at the beginning of the program.
/debugproj:projname projname is the name of a project (.app) file. The development environment opens, loads the project and starts animating at the beginning of the main program in the project.
/n The development environment opens without loading the most recently used project.
/clone:projname projname is the name of a project (.app) file. A dialog box opens asking for a new directory and, optionally, a new name for the cloned project. The project projname is copied to the new directory, preserving its project properties, build settings and source file dependencies.
/? A dialog box displaying the Net Express command-line options is displayed.
Working directory

When you invoke the development environment from the command line, you need to be particularly aware of which directory is the working directory.

When invoked from the command line, the path of the debugged program is made the working directory if no project is loaded, or the project directory if a project is loaded.

When invoked from the Start menu or icon, Examples\Net Express IDE is the default working directory. If a project is loaded, the working directory is the project directory. If you open the development environment with a project loaded and then close the project, the working directory is still the project directory of the project that was loaded.

Related Topics: