That works! ;)&nbsp; I should have realized that there is probably a different function for load, haha ;) <br><br>Thanks for the quick reply ;)<br>yinso <br><br><div><span class="gmail_quote">On 4/23/07, <b class="gmail_sendername">
Matthew Flatt</b> &lt;<a href="mailto:mflatt@cs.utah.edu">mflatt@cs.utah.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
At Mon, 23 Apr 2007 00:43:14 -0700, &quot;Yin-So Chen&quot; wrote:<br>&gt; Dr Scheme REPL<br>&gt; &gt; (current-directory)<br>&gt; #&lt;path:C:\Local\PLT&gt;<br>&gt; &gt; (parameterize ((current-directory &quot;c:\\data\\scheme\\lib\\util\\&quot;))
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; (expand (with-input-from-file &quot;c:\\data\\scheme\\lib\\util\\util.scm&quot;<br>&gt; read)))<br>&gt; Error: open-input-file: cannot open input file: &quot;c:\Local\PLT\foo.scm&quot; (The<br>&gt; system cannot find file specified.; errno=2)
<br><br>You need to set `current-load-relative-directory&#39; instead of<br>`current-directory&#39;.<br><br>I see that DrScheme initializes the `current-load-relative-directory&#39;<br>parameter in the same way as the `current-directory&#39; parameter.
<br>Probably it should be set to #f after the definitions windows is<br>evaluated, but we&#39;ll have to look into it more.<br><br>Matthew<br><br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.yinsochen.com">
http://www.yinsochen.com</a><br>...continuous learning...