<div dir="ltr"><div><div>Hi all. I'm having a bit of an issue launching geany from the command line in windows.<br></div></div><div>The issue is when I launch Geany from 1 dir to open a file in another dir.<br></div><div>
For example, if I'm in c:\foo\bar\some\path\ and I want to open file c:\foo\bar\file.txt I would type:<br><br>"c:\Program Files (x86)\Geany\bin\Geany.exe" ..\..\file.txt<br><br></div><div>it creates a new file instead c:\file.txt for some reason.<br>
"c:\Program Files (x86)\Geany\bin\Geany.exe" c:\foo\bar\file.txt<br>works fine.<br><br></div><div>Here's the batch file I use for notepad++ that I modified for geany, but it gives the same issue:<br><br>@echo off<br>
REM calls geany with file to open from command line<br><br>if "%~1"=="" (<br>    start /I /B "" "C:\Program Files (x86)\geany\bin\geany.exe"<br>    ) ELSE (<br>    start /I /B "" """C:\Program Files (x86)\Geany\bin\geany.exe" %1<br>
    )<br><br></div><div>any one have any ideas?<br><br>thanks!<br></div></div>