09-01-2023, 06:54 AM
(08-31-2023, 06:32 PM)HueyIroquois Wrote: When I use the GIMP shortcut it says 'C:\\Program Files\\GIMP 2\\bin'. When I use an XCF file, it shows whatever folder the image is stored in, Usually on the D: drive.
So yes, it's a matter of whatever the CWD is.
So your PATH or DLL_PATH must contain a directory noted as "." (or even worse, a directory relative to that) to use whatever is in the current directory (this is a capital sin on Linux since it is a security hazard, but on Windows it is unfortunately quite frequent). So make sure that PATH and DLL_PATH contain fully designated references to the Gimp directories (C:\\Program Files\\GIMP 2\\bin or else), so that these directories are always searched, even if the CWD isn't the one with the GIMP installation.