• Contact
  • Company
  • Login / My Account
  • Shopping Cart (0)
Document Conversion Made Easy!
Peernet Menu
  • Products
      • Virtual Printers
        • tiff-image-printer-iconTIFF Image Printer – Create TIFF Images
        • raster-image-printer-iconRaster Image Printer – Create TIFF, PDF, JPEG, etc.
        • pdf-image-printer-iconPDF Image Printer – Create Searchable PDF
      • PDF Editor
        • pdf-creator-plus-iconPDF Creator Plus – Merge, Edit, Create Searchable PDF
      • Batch Converters
        • document-conversion-service-iconDocument Conversion Service – Unattended 24/7 Batch Converter
        • file-conversion-center-iconFile Conversion Center – Desktop Batch Converter
      • Reporting Software
        • peernet-reports-iconPEERNET Reports – Barcode, Report and Label Software
      • enterprise-licensingEnterprise Licensing for your Corporation
      • discounts-multiple-licensesDiscounts for Purchasing Multiple Licenses
      • distribute-bundle-peernet-softwareDistribute PEERNET Software Bundled with your Product
  • Purchase
      • Purchase Virtual Printers
        • tiff-image-printer-iconTIFF Image Printer – Create TIFF Images
        • raster-image-printer-iconRaster Image Printer – Create TIFF, PDF, JPEG etc.
        • pdf-image-printer-iconPDF Image Printer – Create Searchable PDF
      • Purchase PDF Editor
        • pdf-creator-plus-iconPDF Creator Plus – Merge, Edit, Create Searchable PDF
      • Purchase Batch Converters
        • document-conversion-service-iconDocument Conversion Service – Unattended 24/7 Batch Converter
        • file-conversion-center-iconFile Conversion Center – Desktop Batch Converter
      • Purchase Reporting Software
        • peernet-reports-iconPEERNET Reports – Barcode, Report and Label Software
      • peernet-online-store-purchase-optionsPurchase Options
      • peernet-software-license-levelsLicense Levels
      • peernet-software-purchase-resellerFind Resellers
      • peernet-software-sales-faqsSales FAQ
  • Learn & Support
        • peernet-help-centerTutorials
          • Learn the Basics or Go Beyond with Video Tutorials, FAQs and Guides

            At PEERNET we pride ourselves on providing the best support and the fastest response times in the industry.
          • Select Software Tutorials:
              • tiff-image-printer-iconTIFF Image Printer
              • raster-image-printer-iconRaster Image Printer
              • pdf-image-printer-iconPDF Image Printer
              • pdf-creator-plus-iconPDF Creator Plus
              • document-conversion-service-iconDocument Conversion Service
              • file-conversion-center-iconFile Conversion Center
              • peernet-reports-iconPEERNET Reports
        • peernet-software-faqsSales FAQ
          • Popular Topics

            Find all the answers you need to our most frequently asked questions.
              • Download & Install
                • How do I download software I already purchased?
              • Purchasing & Renewing
                • How do I purchase PEERNET software?
                • What license level do I need?
                • How do I add licenses to an existing serial number?
                • How do I renew my annual subscription?
              • Licensing & Operating
                • How do I activate my new PEERNET software?
                • How do I activate my software without an internet connection?
                • Where do I find my serial number?
                • How do I move my software to a new computer?
                • How do I update/upgrade my software to the latest release?
            • Read all Sales FAQs
  • Blog
  • Menu Menu

Command Line Conversion with Document Conversion Service

July 15, 2013/by Robert Massart

Need: The ability to convert files from a command line interface for use by the Windows Task Scheduler, Powershell, batch files or any application that can call another program.

Document Conversion Service

Solution: A set of command line tools is included with Document Conversion Service.

  • Convert a single file with DCSConvertFile.exe
  • Convert all files in folder, and optionally all subfolders with DCSConvertFolder.exe
    • A search filter, based on file name, can be supplied so that only files that match the filter will be converted.
    • The opposite, an exclude filter, also based on filename, can also be supplied to ignore files that match the exclude filter.
  • Convert a list of files passed via input text file or on the command line with DCSConvertFileList.exe
  • Both DCSConvertFolder.exe and DCSConvertFileList.exe take advantage of the parallel processing available with Document Conversion Service. Multiple documents in the folder or in your list can be converted at the same time.
  • Use DCSCombineFiles.exe to combine a list of files together into a single multipaged TIFF image or PDF file.
    • Files can be listed on the command line or passed via an input text file.
    • The files are appended together in the order in which they are given.
    • Use a serialized output format such as JPEG create a sequential list of files, one for each page.
  • The command line tools all return the following error codes:
    • 0 – success
    • 1 – fail
    • 2 – invalid parameters
  • The results of each command line utility are sent to standard out, while any errors that may have happened are sent to standard error, allowing the use of the DOS pipe (|) and redirect (>, >>) operators.
  • Each of these tools is passed the name of a conversion profile to use to control what type of file is being created. Profiles are lists of settings saved as XML files.  Many sample profiles are included; these can be modified or your own created to meet your exact requirements.
  • The DCSCreateFileList.exe tool can be used to create file lists to pass to DCSConvertFileList.exe and DCSCombineFiles.exe.
    • This tool is optimized for speed and efficiency and will return all files that match the filter provided.
    • Hidden and system files are ignored, and the search pattern filters files based on a regular expression match of the long name of a file.
  • If an error occurs during conversion, a XML file is created on disk that contains complete information about the original conversion request and the results of the conversion. Use the provided DCSExtractResults.exe tool to extract information from this file.
    • You can also choose to always create this file, even when the conversion succeeds.
https://www.peernet.com/wp-content/uploads/DCSBox-for-blog.jpg 450 1516 Robert Massart https://www.peernet.com/wp-content/uploads/peernet-logo.png Robert Massart2013-07-15 18:55:192019-07-16 15:03:54Command Line Conversion with Document Conversion Service
  • Document Conversion Service
  • TIFF Image Printer
  • Raster Image Printer
  • PDF Image Printer
  • PDF Creator Plus
  • File Conversion Center
  • PEERNET Reports
Search Search

Recent Posts

  • PNSrv11Lib to PNSrv12Lib: Migration Made Easy
  • Migrating to Version 12: Compatibility Mode Quick Start Guide
  • Well Logs: Stitch PDF Pages into a Continuous TIFF Image
  • Dynamic Stamp Content
  • Convert to PDF: The Power of On-Premise PDF Creation

INTERESTING LINKS

Below are some interesting links for you! Enjoy your stay :)

RSS Feed Logo RSS Feed Logo Subscribeto RSS Feed

OUR PRODUCTS

  • Document Conversion Service
  • TIFF Image Printer
  • Raster Image Printer
  • PDF Image Printer
  • PDF Creator Plus
  • File Conversion Center
  • PEERNET Reports

LATEST NEWS

  • PNSrv11Lib to PNSrv12Lib: Migration Made EasyMarch 14, 2025 - 2:10 pm
  • Migrating to Version 12: Compatibility Mode Quick Start GuideMarch 14, 2025 - 2:09 pm
  • Well Logs: Stitch PDF Pages into a Continuous TIFF ImageMarch 14, 2025 - 2:08 pm
  • Dynamic Stamp ContentNovember 4, 2024 - 4:47 pm

BUSINESS INFORMATION

Toll Free: 1-800-883-7980 North America

Tel: 1-613-224-6894

Our office hours are Monday to Friday, from 0900 hrs to 1700 hrs, Eastern Standard Time.

Email Address: [email protected]
Copyright © 1997-2026. All rights reserved. Terms and Conditions | Disclaimer | Privacy Policy | Trademarks.
PEERNET® is a registered trademark of PEERNET Inc.
  • Link to Youtube
  • Link to Rss this site
  • Products
  • Purchase
  • Company
  • Contact
Link to: TIFF file of Different Lengths Link to: TIFF file of Different Lengths TIFF file of Different LengthsTIFF Image Printer box shot Link to: How can I make a single PDF file of several files? Link to: How can I make a single PDF file of several files? How can I make a single PDF file of several files?
Scroll to top Scroll to top Scroll to top