Converting .rtf files to .doc and then .doc back to .rtf in PowerShell (WMF registry fix) - file size optimization
问题 I need to create a script in powershell with which will convert all my files from .rtf to .doc and then back. I want to do it because I have applied registry fix which will decrease size of my rtf files after such conversion ( It will not save second WMF image specyfic info http://support.microsoft.com/kb/224663 ).I imagine my script workflow as RTF_1 save to doc then close rtf1 delete rtf 1 , save doc to rtf2 , close doc , delete doc. 回答1: Here is the final working script ( without deleting