Convert all files in folder to pdf
This should work for various types of
Microsoft Office ( Word , Powerpoint etc ) files
Okay I am on Windows system so I don’t have many luxuries which you might have on Linux system.
But here we go
1)
We need some utility to files to pdf.
Download this utility to get virtual pdf printer on your system. Remember to set it as your default printer.
2)
Get list of all files
Go to folder where your files are
And run following command
dir /s /b > filenames.txt
This will run dir command and send its output to file names filenames.txt
3)
See the command line parameter stuff for your office product.
Example
Power point 2010 its
"c:\program files\microsoft office\office14\POWERPNT.exe" /P "MyFile.pptx"
Now use some tool like Notepad ++ to generate command for all files you got in step 2
No comments:
Post a Comment
Please share your views and comments below.
Thank You.