Is there any specification for schema.ini files fo

2019-08-30 07:36发布

问题:

I am wanting to create a Schema.ini file to define a CSV file and cannot find a specification online after searching,

Does such a specification exist?

Thanks

回答1:

Microsoft's MSDN has a good article on schema.ini.

For a csv file a bare-bones schema should look something like:

[filename.csv]
Format=CSVDelimited

You can, of course, add extra options like column names and data types (see the above link for details).

The schema.ini file needs to be in the same folder as the file you want to read.



标签: csv schema