open-cogsci / OpenSesame

Graphical experiment builder for the social sciences
http://osdoc.cogsci.nl/
GNU General Public License v3.0
236 stars 112 forks source link

Opensesame.bat does does not work when launched from other drives #704

Closed Martin2Constant closed 3 years ago

Martin2Constant commented 4 years ago

Hello,

When trying to launch opensesame.bat from another drive than the one OpenSesame is installed on, the script fails to launch OpenSesame.

The fix is simple: add the "/D" argument in line 2, "cd %~dp0" --> "cd /D %~dp0". It shouldn't break anything and allows for launching experiment files directly from a USB drive for instance.

Best regards, Martin Constant.

smathot commented 4 years ago

Thank you! I'll rebuild the packages for 3.3.3, because this seems like quite a nasty issue for some people.

smathot commented 3 years ago

Was closed in the packaging of 3.3.4.