Author Topic: Working directory  (Read 1914 times)

AF

  • Guest
Working directory
« on: 30 January 2008, 22:07:45 »
If the working directory does not match the glest folder then running glest results in an error message as it cannot find glest.ini in the working directory.

This shows up rather well when ran via a batch/dos prompt or when glest is pinned to the start menu.

To solve this the path to the executable itself is passed as a command line arguement to the main() method.
« Last Edit: 1 January 1970, 00:00:00 by AF »