mirror of https://github.com/tobya/DocTo
44 lines
1.0 KiB
Markdown
44 lines
1.0 KiB
Markdown
{
|
|
"title" : "How do I get log out put when converting a file ? "
|
|
}
|
|
|
|
How do I get log out put when converting a file ?
|
|
-
|
|
|
|
When doing a conversion, it is useful to output log info.
|
|
|
|
Command Line
|
|
-
|
|
|
|
````
|
|
docto -WD -f 'c:\path\Document.doc' -o 'c:\path\Document.PDF' -t wdFormatPDF -L 10
|
|
````
|
|
or easier to read
|
|
````
|
|
docto -WD -f 'c:\path\Document.doc'
|
|
-o 'c:\path\Document.PDF'
|
|
-t wdFormatPDF
|
|
-L 10
|
|
````
|
|
|
|
Command Line Explained
|
|
-
|
|
|
|
- `-WD` : This is a conversion using Microsoft Word. This is not required but makes it easier to read
|
|
- `-f` : The File or directory to be converted
|
|
- `-o` : The Output File or Directory where you would like the converted file to be written to.
|
|
- `-T` : The file format type that is being converted to
|
|
- `-L` : Set Log level for outpu.
|
|
|
|
|
|
|
|
|
|
Some other interesting commands
|
|
-
|
|
|
|
You might find some of the following commands also interesting.
|
|
|
|
- [Convert all Word Document in a folder to a pdf file](ConvertDirDocToFilepdf.md);
|
|
|
|
|