[fpc-devel] Another bug with spaces in fpc (windows)

Paul Ishenin webpirat at mail.ru
Tue Jul 6 15:25:53 CEST 2010


  06.07.2010 21:17, Michael Van Canneyt wrote:
> Do not use a batch file, but a plain executable to test:
>
> program mytest;
>
> Var
>  i : integer;
> begin
>   For I:=1 to ParamCount do
>    Writeln(I,' : ',Paramstr(i));
> end.
>
> and test then with
>
> mytest -o"My Test Project.exe" C:\WINDOWS\TEMP\project1.lpr
C:\temp\fpc>test.exe -o"My Test Project.exe" C:\WINDOWS\TEMP\project1.lpr
1 : -oMy Test Project.exe
2 : C:\WINDOWS\TEMP\project1.lpr

Best regards,
Paul Ishenin.



More information about the fpc-devel mailing list