[racket] Behavior of file-exists? and directory-list

From: Danny Yoo (dyoo at hashcollision.org)
Date: Thu Dec 6 19:00:08 EST 2012

On Thu, Dec 6, 2012 at 4:22 PM, Tim Nelson <tbnelson at gmail.com> wrote:

> Thanks for the hint Danny. I didn't know about that function... but I'm
> sorry to say that
>
> > (find-executable-path "java.exe")
> #f
>
> whereas from cmd:
> > where java
> C:\Windows\System32\java.exe
>
> so the command line knows about it, and I can use it, but it is concealed
> from Racket, even via find-executable-path. That's probably a more concise
> statement of my problem!
>
>
Ugh.  Ok, that was _supposed_ to work.

Out of curiosity, what happens if you add C:\Windows\System32 to your PATH?

(I know that's not the right solution, and it sounds like there's some
Windows weirdness involved here.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20121206/fd33543c/attachment.html>

Posted on the users mailing list.