I have written this code and when I run the program it runs successfully, but it also print .vbs file along with this and I don't want that file as it will load my file system.
File fs=new File("D:/parser/samrudha-kelkar.docx");
File file=new File("D:/test.pdf");
IConverter converter = LocalConverter.builder().build();
Future<Boolean> conversion = converter
.convert(fs).as(DocumentType.MS_WORD)
.to(file).as(DocumentType.PDF)
.prioritizeWith(1000) // optional
.schedule();
You can do this:
I think that you have to create .vbs files in order to do the conversion