In our previous episode, Michael Van Canneyt said: > Var > i : integer; > begin > For I:=1 to ParamCount do > Writeln(I,' : ',Paramstr(i)); > end.
Or better even, sysutils.commandline, since doesn't that iirc reflect what the binary gets before FPC parses it? > and test then with > > mytest -o"My Test Project.exe" C:\WINDOWS\TEMP\project1.lpr > > Only then we'll know who does the interpreting of the quotes. > > In case it still differs, this doesn't explain why Marco's example works fine. > He seems to be using the same executable. Maybe different windows versions > handle it differently... Yes, I tried adding paths and other parameters, no difference. It is W7 here btw. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel