|
From: Noel O'B. <no...@ca...> - 2005-11-07 09:12:01
|
Dear all,
Please find attached a patch for the following problem:
Problem:
On Windows, if your user name contains an apostrophe, the use of
temporary files causes an error, as gnuplot uses apropostrophes (i.e.
single quotes) to delimit the filename.
gnuplot> plot 'c:\docume~1\noelo'~1\locals~1\temp\tmpcxnwsm' notitle
^
invalid character
Solution:
If you replace the single quotes with double quotes, gnuplot is happy
with the apostrophe but misinterprets the backslashes as escape
character sequences.
gnuplot> plot "c:\docume~1\noelo'~1\locals~1\temp\tmpcxnwsm" notitle
^
can't read data file "c:docume~1
oelo'~1locals~1 emp mpcxnwsm"
....so you need to also replace all of the backslashes with forward
slashes.
gnuplot> plot "c:/docume~1/noelo'~1/locals~1/temp/tmpcxnwsm"
notitle
**Success!!**
Patch Attached:
mishandledfilenames.txt
|