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.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel