NO

Author Topic: Problem in saving to floppy disk with File->Save As...  (Read 3392 times)

obrhy

  • Guest
Problem in saving to floppy disk with File->Save As...
« on: May 29, 2005, 12:13:10 AM »
Posted: Thu May 26, 2005 7:42 pm in wrong place (C language area)
--------------------------------------------------------------------------------
 
May28, 2005
__Running WinXP.
I have some .c files, made for a students' C compiler, in a standard
1.44 MB floppy. I opened t_esc.c in Pelles editor (~800 bytes).
I made a few changes to enable Pelles compile: #include <system.h>
to #include <conio.h>, and the function name getch to _getch.

Then File->Save As... to save file as p_esc.c, but got error:
"Error in saving file p_esc.c."
"Not enough room in disk."

The Properties for the floppy indicated 936,900 bytes free.
I then copied and pasted the document to Notepad and Save As...
p_esc.c. It did, no error; looked in the disk, file was there.

Next, opened p_esc.c in Pelles and deleted three blank lines.
Then Save As... gave familiar message: "File already exists.
Do you want to change it?" Yes. Then: "Error in saving file p_esc.c"
"Not enough room in disk."

Looking in the disk, p_esc.c was gone!
Pelles C had deleted the file in the floppy!

What is the meaning of this?
obrhy__