Re: [fpc-pascal] using ^ in filename

2019-05-09 Thread Jonas Maebe
On 2019-05-09 06:02, James Richters wrote: Does anyone know what is going on here and why ^ gets left out of parameters with no quotes or why windows would put two of them if I call the program? I'm sure there is some kind of reason, but I can't find any information about why ^ is treated diff

[fpc-pascal] using ^ in filename

2019-05-08 Thread James Richters
Does anyone know why I have issues using ^ in a filename on windows systems? Everything works fine if I just run my program and open the file with a ^ in it, the issue I am having is when sending the filename in as a parameter. If I set my parameter to File^name then Paramstr(1)= FileName.