Save As - File Type for CSV

Found a bug? Tell us about it here

Moderator: DPlotAdmin

Post Reply
Schwer
Posts: 57
Joined: Thu Sep 29, 2005 11:12 am
Location: Windsor, CA
Contact:

Save As - File Type for CSV

Post 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
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post 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.
Visualize Your Data
support@dplot.com
Schwer
Posts: 57
Joined: Thu Sep 29, 2005 11:12 am
Location: Windsor, CA
Contact:

Post 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
Schwer
Posts: 57
Joined: Thu Sep 29, 2005 11:12 am
Location: Windsor, CA
Contact:

Post 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
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post 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 :-)
Visualize Your Data
support@dplot.com
Post Reply