Yep - 1.23.1 had the fix. Thanks Matthew!


On Wed, Oct 16, 2013 at 11:40 PM, Matthew Brush <mbrush@codebrainz.ca> wrote:
On 13-10-16 10:34 AM, Nick Sartor wrote:
Hi all. I'm having a bit of an issue launching geany from the command line
in windows.
The issue is when I launch Geany from 1 dir to open a file in another dir.
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:

"c:\Program Files (x86)\Geany\bin\Geany.exe" ..\..\file.txt

it creates a new file instead c:\file.txt for some reason.
"c:\Program Files (x86)\Geany\bin\Geany.exe" c:\foo\bar\file.txt
works fine.

Here's the batch file I use for notepad++ that I modified for geany, but it
gives the same issue:

@echo off
REM calls geany with file to open from command line

if "%~1"=="" (
     start /I /B "" "C:\Program Files (x86)\geany\bin\geany.exe"
     ) ELSE (
     start /I /B "" """C:\Program Files (x86)\Geany\bin\geany.exe" %1
     )

any one have any ideas?


Actually, it sounds kind of like the bug that this fix resolved:

https://github.com/geany/geany/commit/eea7ffbff0c5bf14a9662483d989c4213f1392f7

If you aren't using Geany 1.23.1 release, you should try that.


Cheers,
Matthew Brush
_______________________________________________
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users