Command line arguments for the windows version

Andreas Köhler andi5.py at gmx.net
Sat Oct 13 08:56:06 EDT 2007


Hi,

Am Freitag, den 12.10.2007, 16:03 +0000 schrieb Kevin Hale Boyes:
> I'm looking at v2.2.1 on Windows and have a question about giving command line 
> arguments.  Can I do it?
> 
> I open up a cmd shell and do the following:
> C:\>cd "C:\Program Files\gnucash\bin"
> C:\Program Files\gnucash\bin>"C:\Program Files\gnucash\bin\gnucash.bat" --
> nofile
> 
> but GC starts and opens my data file.
> 
> Similarily, if I want to start GC on a different data file I can't do it
> >from the command line.
> 
> Is this expected or am I doing something wrong.

this is expected.  You could edit gnucash.bat and append --nofile to the
last line.  Actually, you can have as many .bat files as you want :-)

-- andi5




More information about the gnucash-user mailing list