<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<br>Yep that what it was.<div><br></div><div>Thanks.<br><br><br>> Subject: Re: [plt-scheme] with-input-from-file<br>> From: sbloch@adelphi.edu<br>> Date: Tue, 9 Mar 2010 06:47:28 -0500<br>> CC: wookiz@hotmail.com; plt-scheme@list.cs.brown.edu<br>> To: noelwelsh@gmail.com<br>> <br>> <br>> On Mar 9, 2010, at 6:39 AM, Noel Welsh wrote:<br>> <br>> > On Tue, Mar 9, 2010 at 11:27 AM, wooks . <wookiz@hotmail.com> wrote:<br>> >> Ah hah...... understood what I was supposed to do now. (directory-list) is<br>> >> calling the file numbers.txt.txt ......<br>> >> thats not what the file is called. It's put an extra .txt suffix on it.<br>> > <br>> > I haven't used Windows on a regular basis for about 8 years, but when<br>> > I did use it there was an option to hide file suffixes. My guess is<br>> > this option still exists and you have this option turned on. Try this<br>> > <br>> > (rename-file-or-directory "numbers.txt.txt" "numbers.txt")<br>> > <br>> > and see what happens. If Explorer (or whatever the Windows file system<br>> > viewer is called these days) shows the file as just numbers then we've<br>> > found the problem.<br>> <br>> I would put money on that. (directory-list) is telling you the file's REAL name, and (with-input-from-file...) is looking for it by its REAL name. Windows Explorer is hiding part of the name from you. When I sit down at a Windows machine, one of the first things I do is uncheck the "Hide suffixes for known filetypes" option so I can see what my files are really named.<br>> <br>> <br>> <br>> Stephen Bloch<br>> sbloch@adelphi.edu<br>> <br>> <br>> <br></div>                                            <br /><hr />We want to hear all your funny, exciting and crazy Hotmail stories. <a href='http://clk.atdmt.com/UKM/go/195013117/direct/01/' target='_new'>Tell us now</a></body>
</html>