Commandline options for the IDE

The PureBasic IDE allows you to modify the paths and files being used from the commandline. This allows you to create several shortcuts that start the IDE with different configurations for different users, or for different projects.

Possible commandline options are:

  /P <Preferences file>    loads/saves all the configuration to/from the given file.
  /T <Templates file>      loads/saves the code templates from/to the given file.
  /A <tools file>          loads/saves the configuration of the external tool from/to this file.
  /S <Source path>         overwrites the "Source path" setting from the preferences
  /E <Explorer path>       starts the Explorer tool with the given path
  /L <Line number>         moves the cursor to the given line number in the last opened file
  /NOEXT                   disables the registering of the .pb extension in the registry.
The default files for /P /T and /A are saved in your PureBasic directory.
The /NOEXT command is useful when you have several different PB versions at once (for testing of beta versions for example), but want the .pb extension to be associated with only one of them.

You can also put filenames of source files to load on the commandline. You can even specify wildcards for them. (so with “*.pb” you can load a whole directory.)