[gambit-list] current-directory // problem on Windows 7

Marc Feeley feeley at iro.umontreal.ca
Wed Apr 3 15:31:56 EDT 2013


On 2013-04-03, at 3:23 PM, <sales.creditscore at creditscore.co.nz> wrote:

> Never thought of just typing the function straight into the interpreter :-|  Anyway this is what it produces.
> 
> "C:\\MinGW\\msys\\1.0\\local\\Gambit-C\\bin"

Apparently your browser is replacing the backslashes by forward slashes.

So perhaps this code would work better:

       (<li> (<a> href: (string-append "\"" (current-directory) "\"")
                  "Browse the web server's filesystem")) 

In any case, it appears to be a quoting problem.

Marc




More information about the Gambit-list mailing list