<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
> <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>
Yeah I know Windows does stuff like that so before my last post I rightclicked on the file name and looked at file properties for the name and it said numbers.txt. I thought that settled it.<BR>
<BR>
I will have to wait to get home to try your latest trick.<BR>
<BR>                                            <br /><hr />Not got a Hotmail account? <a href='http://clk.atdmt.com/UKM/go/197222280/direct/01/' target='_new'>Sign-up now - Free</a></body>
</html>