[GNC] finance Quote Not working

Fross, Michael michael at fross.org
Sun Aug 6 17:40:44 EDT 2023


As an FYI, on my windows 11 installation, the default location where
GNUCash installs itself is:

"C:\Program Files (x86)\gnucash"

and the full path to the CLI executable is:

"C:\Program Files (x86)\gnucash\bin\gnucash-cli.exe"

For command line guys like me, these paths are just crazy....

Michael

On Sun, Aug 6, 2023 at 4:23 PM David H <hellvee at gmail.com> wrote:

> On windows you'll need the double quotes around the .exe path because of
> the space in "Program Files"
>
> i.e.   "C:\Program Files\GnuCash\gnucash-cli.exe" -V --quotes dump nseindia
> RELIANCE
>
> OR
>
> you can also open a command prompt and change directory to C:\Program
> Files\GnuCash end then just run the command without the full path name i.e.
> gnucash-cli.exe -V --quotes dump nseindia RELIANCE
>
> Cheers David H.
>
>
> On Mon, 7 Aug 2023 at 05:36, Jim DeLaHunt <list+gnucash at jdlh.com> wrote:
>
> > Paras:
> >
> > On 2023-08-06 01:21, Paras Desai wrote:
> > > ...I tried to run the command prompt, and I received the following
> > > message.
> > >
> > > I run command from as an administrator,  the same message received as
> > > below.
> > >
> > > gnucash-cli' is not recognized as an internal or external command,
> > > operable program or batch file.
> > >
> > This message indicates a problem not with GnuCash or Perl, but of
> > learning how to use the command prompt. The message says that Windows
> > cannot find a file named "gnucash-cli" in the current directory. You fix
> > the problem by using the full path and exact filename for the GnuCash
> > command.
> >
> > Use File Explorer to find the directory where GnuCash is installed, and
> > a file named something like "gnucash-cli.exe" in that directory. Note
> > the full file path to that directory.
> >
> > Suppose that path is:
> >
> > C:\Program Files\GnuCash\gnucash-cli.exe
> >
> > (I don't use GnuCash on Windows, so I am not sure what the exact path
> > and file name are.)
> >
> > Then in place of "gnucash-cli", use that full path and file name. For
> > instance:
> >
> > C:\Program Files\GnuCash\gnucash-cli.exe -V --quotes dump nseindia
> RELIANCE
> >
> > That should give you the output similar to my example. If you get the
> > same error message as before, then there is probably something wrong in
> > the path or the file name.
> >
> > Learning more about using the Windows command prompt is a separate task,
> > and one that will probably help you for more things than just GnuCash.
> > According to a brief web search, here are a couple of pages that explain
> > the Windows Command Prompt:
> >
> > <
> >
> https://www.makeuseof.com/tag/a-beginners-guide-to-the-windows-command-line/
> > >
> > <
> >
> https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/windows-commands
> > >
> >
> > Teaching details about the Windows command prompt is out of the scope of
> > this list. A Windows support group would be a better place to learn
> > about it.
> >
> > Best regards,
> >       —Jim DeLaHunt
> >
> > _______________________________________________
> > gnucash-user mailing list
> > gnucash-user at gnucash.org
> > To update your subscription preferences or to unsubscribe:
> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> > -----
> > Please remember to CC this list on all your replies.
> > You can do this by using Reply-To-List or Reply-All.
> >
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>


More information about the gnucash-user mailing list