Page 1 of 1

XAMPP control panel shortcut has incorrect working folder

PostPosted: 09. February 2013 21:49
by leedega
When installing the latest version of XAMPP 1.8.1, it appears the default working folder set on the shortcut properties for the app is incorrect. It is set to [installdir]\tmp instead of [installdir] (e.g.: "c:\xampp\tmp" instead of "c:\xampp").

One unfortunate consequence of this is that when attempting to run some operations in the XAMPP control panel, you get erroneous "path not found errors". For example, if you attempt to install or start the Tomcat service straight from a fresh install, you get a "path not found" error because it tries to set the CATALINA_HOME folder to "c:\xampp\tmp\tomcat" (presumably because the batch script used to manage these operations assumes you are running them from the same folder the scripts are located in, which is c:\xampp).

Again, this should be a small thing to fix but will hopefully help save lots of people undue headache when configuring XAMPP on windows.

Re: XAMPP control panel shortcut has incorrect working folde

PostPosted: 11. February 2013 23:11
by hackattack142
Hello,

I am aware of this issue but unfortunately I do not make the installer so I do not control the path in the shortcut the installer creates.

I have changed how the current directory is obtained in newer versions to fix this issue.

Thanks for reporting.