[plt-scheme] Re: Writing directly to a floppy

From: Dor Kleiman (dor at ntr.co.il)
Date: Tue Nov 11 08:08:18 EST 2003

Here's an example. You can see that openning it for input works (I tried copying a diskette to the hard drive using read-char and display, and it worked perfectly, I got an image).

> (open-output-file "\\\\.\\A:")
. open-output-file: cannot open output file: "\\.\A:" (Access is denied.; errno=5)
> (open-input-file "\\\\.\\A:")
#<stream-input-port>

-----Original Message-----
From: John Kozak [mailto:jk at xylema.org]
Sent: Tuesday, November 11, 2003 1:50 PM
To: plt-scheme at list.cs.brown.edu
Subject: [plt-scheme] Re: Writing directly to a floppy


  For list-related administrative tasks:
  http://list.cs.brown.edu/mailman/listinfo/plt-scheme

> Am I doing something wrong, is there a bug in DrScheme, or is that
> just not supposed to work?

It been some time since I did win stuff (gave it up and got much
happier), but I think what you're doing should work.  Of course, I'd
need more information (e.g. error msgs) to guess at what's breaking.

John



Posted on the users mailing list.