FYI: We're upgrading our website look and feel over the next 30 days. This page will be done soon!
Adobe Systems Inc. Chooses 'Convert Doc'. A custom site license has been signed by Adobe allowing them to install 'Convert Doc' on their servers. They will be using it specifically to do Doc to HTML conversions. "We look forward to using your product and potentially working together in the future", Bob Free, Adobe
Great customer service, prompt attention to our requirements and lightening speed development has been my experience with the staff at Softinterface Inc. Within a few hours of installing... Bruce King, IBM Canada, Toronto, Ontario
The first example shows how to convert the most popular form of a CSV file, a comma delimited file, to an Excel file. The second example shows how to convert any character delimited (tab, bar, semicolon etc.). You can easily change the examples below to handle XLSX files by changing all instances of "XLS" to "XLSX" and changing all instances of "/C-4143" to "/C51".
Each switch shown in blue is described in detail below the examples. It is highly recommended you review each switches description before implementing the example, thereby giving you the full power of ‘Convert XLS’.
Example 1 (Comma Delimited CSV File to XLS)
To convert a single comma delimited CSV file, “C:\in\input.CSV” to an Excel (XLS) file located in the “C:\Out\” folder, the following syntax would be used:
ConvertXLS.EXE /S"C:\in\input.CSV" /T "C:\Out\output.XLS" /C-4143 /F6 /M2 /V
To convert a whole folder (and subfolders) of comma delimited CSV files, C:\in\*.CSV to XLS files located in the D:\Out\ folder, the following syntax would be used:
ConvertXLS.EXE /S"C:\in\*.CSV" /T "C:\out\*.XLS" /C-4143 /F6 /M2 /R /V
The /G switch can be used to tell ‘Convert XLS’ to simply place each output file in the same folder as each input file. Therefore the command line above is equivalent to the command line below:
ConvertXLS.EXE /S"C:\in\*.CSV" /G /C-4143 /F6 /M2 /R /V
You may simply want to convert a whole folder and its subfolders and place the output into a separate folder/drive. In which case use this syntax:
ConvertXLS.EXE /S"C:\in\*.CSV" /T "C:\Out\*.XLS" /C-4143 /F6 /M2 /R /V
Example 2 (Any Character Delimited CSV File to XLS)
The next example can be adapted to convert any character delimited text (CSV) file. Say we have a bar “|” delimited text file that looks like this:
Our goal is to convert it to an Excel (XLS) file. The bar character has an ASCII equivalent of 124 therefore they syntax would be like this:
ConvertXLS.EXE /S"C:\in\bar_delimited.txt" /T "C:\Out\Final.XLS" /C-4143 /F6 /M2 /N"^^124" /V
If we had a tab delimited file we would simply change the 124 in the above examples with ASCII equivalent of the tab character, 9. If you are not sure what the numeric equivalent of your separation character is, go to the Options button and click on the “CSV,TSV…” tab within the user interface. Of course the examples above can be adapted to do whole folders and subfolders similar to what we did in Example 1.
Copyright © 1999-2016 by SoftInterface, Inc. All Rights Reserved.
Providing Software Interfaces to automate your business.