config.user: format of paths on Windows system

Jannick Asmus jannick.news at gmail.com
Mon Feb 18 04:47:42 EST 2008


Nathan, Robert,

thanks for your input.

I tried every version of path format. No effect.

So I might be that the code of the config.user is not correct. Could 
someone check it, please? I am a real newbie to this stuff.

Thanx again.

Best wishes,
J.

On 17.02.2008 23:39, Nathan Buchanan wrote:
> I doubt windows likes the double slash...try c:\path.... instead.
> 
> On Feb 17, 2008 4:18 PM, Robert Heller <heller at deepsoft.com 
> <mailto:heller at deepsoft.com>> wrote:
> 
>     At Sun, 17 Feb 2008 20:14:22 +0100 Jannick Asmus
>     <jannick.news at gmail.com <mailto:jannick.news at gmail.com>> wrote:
> 
>      >
>      > Hi All,
>      >
>      > I am encountering problems running the following config.user-file on
>      > WinXP together with GC v2.2.3. The problem is that additional
>     tools do
>      > not show up as they are supposed to be.
>      >
>      > Here is the config-file saved in .gnucash:
>      > _____________________
>      > (printf "Start config.user\n")
>      >
>      > (define ibr-menu-created #f)
>      >
>      > (let (
>      >               (path ("C://Dokumente und
>      > Einstellungen/user/.gnucash/ibr-gnc-module.scm"))
>      >       )
>      >       (printf "config.user: loading %s ...\n" path)
>      >       (load path)
>      > )
>      >
>      > (printf "End config.user\n")
>      > _______________________
>      >
>      > The file stems from
>     http://www.ibrieger.de/misc/linux/gnucash/index.html
>      > where the .scm-file is available for download as well.
>      >
>      > At start-up GC looks for the config.user file in .gnucash and
>     starts it.
>      > Derek and me, we have already found out that the line defining
>     the hard
>      > coded path variable
>      >
>      >       (path ("C://Dokumente und
>     Einstellungen/user/.gnucash/ibr-gnc-module.scm"))
>      >
>      > does not seem to be correct.
>      >
>      > Does anyone has a clue what format the path should have on a Windows
>      > system? Should "\" be used? What is the syntax for calling the
>     hard drive?
> 
>     I believe that the C Library's fopen() under MS-Windows handles '/' as
>     a directory separator (internally replaces '/' with '\' before calling
>     the lower level O/S I/O functions.  Don't know how drive letters are
>     handled. And I don't know what the MS-Windows port of GnuScheme does
>     with pathnames.


More information about the gnucash-user mailing list