[fpc-pascal] EFCreateError' Unable to create file

vmars vmars at rgv.rr.com
Tue Jan 27 00:35:36 CET 2009


Ahh.., I see.
Thanks!

ô¿ô
 V  e  r  n

WinXp sp2 ,  Delphi5, WebDwarf, Trellian WebPage, 
Lazarus-0.9.26-fpc-2.2.2-win32.exe,
wxPython2.8-win32-unicode-2.8.9.1-py26.exe , Boa 0.6.1
http://www.flickr.com/photos/vmars956/

Wanted: Dwarf Hibiscus (Orange/Rasberry)
----- Original Message ----- 
From: "Bart" <bartjunk64 at gmail.com>
To: "FPC-Pascal users discussions" <fpc-pascal at lists.freepascal.org>
Sent: Monday, January 26, 2009 12:58 PM
Subject: Re: [fpc-pascal] EFCreateError' Unable to create file


> On 1/26/09, vmars <vmars at rgv.rr.com> wrote:
>> Double quotes are ok in windows.
>>  Check your system for any ShortCut aimed at "c:\Program Files".
>>  And you'll see double quotes.
>
> I know, but that is not what I meant by saying that double quotes are
> not allowed in the filename. By that I meant they are not allowed as
> part of the filename itself.
> The double quotes around the filename are put there and interpreted by
> the shell (OS).
>
> If you ask the OS directly for the filename, there will be no double
> quotes in it.
> Check for yourself
>
> In a DOS box do
> C:>copy con "1 2 3.txt"
> test file with spaces in its name
> ^Z (that is press Ctrl+Z) and press Enter.
>
> Now you create a file with spaces in its name.
> The shell (cmd.exe in W2K or higher) handles the double quotes.
> (It actually needs these to know if a space is part of the filename,
> or it means that the next part of the command is a new parameter)
>
> Now write a program and  with FindFirst retrieve the filname and see:
> the double quotes are not there.
>
> Bart
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> 




More information about the fpc-pascal mailing list