Skip to content

Converting a directory of files

Toby Allen edited this page Sep 23, 2013 · 5 revisions

Converting a directory.

DocTo can if you wish convert all the files in a dir to a desired format. If you supply a directory as the -f param DocTo will list then convert all files in the folder and it's sub folders.

Docto -f c:\diroffiles\ -o "c:\converted files" -t wdFormatText -OX .txt

You must provide a directory for the -o param and also provide an additional -OX param which specifies the output extension to use for converted files.

The files will be output to the output path using the input path structure and the OX extension

Eg

C:\diroffiles\doc1.doc

Converts to

C:\converted files\Doc1.txt

.

C:\diroffiles\a\path\Doc2.doc

Converts to

 C:\converted files\a\path\Doc2.txt