Skip to content

Listing Files that raise an error.

Toby Allen edited this page May 14, 2019 · 2 revisions

Sometimes when converting a large batch of files on a regular basis, such as to backup or git as text, you will find some files which cause an error dialog to be raised by Word. Currently there is no way to prevent this dialog from being shown, but by using the -n parameter you can at least record them and either remove or fix them or by using the -NX parameter you can get docto to skip them the next time.

Record any files that take longer than 5 seconds to convert. All files are written to a file called docto.ignore.txt

docto -f c:\myfiles -o c:\myconvertedfiles -t wdFormatPDF -n 5

Ignore all files previously written to docto.ignore.txt

docto -f c:\myfiles -o c:\myconvertedfiles -t wdpdf -nx