Page 1 of 1

Save As - File Type for CSV

Posted: Thu May 17, 2012 7:02 pm
by Schwer
Hello David --

Maybe it is just me, but when I "Save As" with "Save as type" CSV
the file type “.csv” is not appended to the file name?

Example:
File name: xyz

Results in a file name “xyz” and not “xyz.csv” and thus double clicking the file to launch Excel is not possible.

DPlot Version 2.3.2.3

Thanks, --len

Posted: Thu May 17, 2012 7:18 pm
by DPlotAdmin
Len,
The only way I can get that behavior is by adding a dot, as in
"filename."
A filename with no dot and no extension results in a .CSV extension. And this isn't even DPlot doing that - it is the default behavior for the Open common dialog. (So blame MS :-))

If you want to experiment, send me the file %APPDATA%\DPlot\dplot.ini. Perhaps I've overlooked something... but honestly I don't see how.

Posted: Fri May 18, 2012 8:34 am
by Schwer
Thanks David.

I guess it was me, or maybe Version 2.3.2.3

I just downloaded Version 2.3.2.5 and a test case worked, i.e. the .cvs was added to the filename.

Keep up the good work! --len

Posted: Fri May 18, 2012 8:54 am
by Schwer
Hello David –

OK I found the problem:
If the filename contains a period “.” then the .csv is not appended.

Example: filename “CAB-0.2m” is NOT written as “CAB-0.2m.csv”

I am not sure if this is under your control. --len

Posted: Fri May 18, 2012 10:48 am
by DPlotAdmin
In that case the Open dialog sees the extension as ".2m", and honestly I don't see how it could decide any differently. Put another way, if you typed "filename.txt", I don't think you'd want it to be forced to "filename.txt.csv".

I'm not sure why Windows allows a period in a filename, but I don't want to get all preachy about it :-)