0ایم ایس آفس کے لوگوبیچ پرانے ایم ایس آفس دستاویزات میں تبدیل

میں نے ایک بہت بڑا باہر حل کرنے کی کوشش کر رہا ہوں (100+GB) یا تدریسی وسائل میں سال کے دوران تعمیر-کیا ہے کہ. واضح اقدامات کے بعد (خالی حذف کرنے سے, عارضی اور نقل فائلوں) اور بڑی فائلوں کو چھانٹ رہا ہے (e.g. ویڈیوز, درخواست انسٹالرز) میں دفتر کی دستاویزات کی ایک بڑی تعداد کے ساتھ چھوڑ دیا گیا تھا. میں نے آہستہ آہستہ ان کے ذریعے کام کر رہا ہوں, لیکن ان میں سے بہت سے ہیں 2003 یا اس سے بھی بڑی عمر کی شکل میں دستاویزات - کلام کے طور پر کچھ کے طور پر پرانے 6!  ہر بار جب میں ان فائلوں میں مختلف سیکورٹی انتباہ کے ساتھ حوصلہ افزائی کر رہا ہوں میں سے ایک کو کھولنے. Whist ان کو بند کر دیا جا سکتا ہے (ذیل میں دیکھیں) یہ ان پر چھوڑنے کے لئے زیادہ محفوظ ہے, اور مجھے آفس کی تمام فائلوں میں تبدیل کرنا چاہتے تھے 2007 (DOCX, XLSX وغیرہ) فارمیٹس. بیچ کے تبادلوں کو یقینی جانے کا راستہ تھا.

There are sev­er­al advant­ages to con­ver­sion bey­ond the prob­lems with secur­ity warn­ings. Doc­u­ments saved in the new­er formats are sig­ni­fic­antly smal­ler, and as they are based on open formats, are much more com­pat­ible, e.g. with google docs and open office. This may prove very advant­age­ous in the future. I dis­covered that the size reduc­tion alone makes going to the trouble worth­while — first 220 word doc­u­ments i con­ver­ted were reduced from 63Mb to 25Mb. You may think sav­ing 175k per file isn’t worth­while, but if you have 110,000 فائلوں (as I did) you will save around 18Gb — a big sav­ing if you’re using a a یوایسبی Thumbdrive, older extern­al کوائف نامہ یا SSD systemdrive.

Microsoft offer a util­ity called OFC to batch con­vert office doc­u­ments so this seemed the obvi­ous way to pro­ceed. OFC is part of the Microsoft Office Migra­tion Plan­ning Man­agerTo util­ise it fully you will also need to down­load the آفس 2007 Com­pat­ib­il­ity Pack, which includes lots of file-format con­vert­ers. Install the com­pat­ib­il­ity pack first, then run the installer for the migra­tion plan­ning man­ager. You will be promp­ted to pick a loc­a­tion to extract to — I’d put it in your doc­u­ments or down­loads folder as it makes file edit­ing easier.

To run the con­vert­er you simply open the extrac­ted path, open the tools dir­ect­ory and run ofc.exe. How­ever, You wont achieve much this way as OFC does­n’t have a GUI — it uses ini files. There will be an OFC.ini file included in the tools folder as an example. You will need to edit it — you can use note­pad or any text edit­or to do so.

There are actu­ally lots of options for con­fig­ur­ing ofc.ini, but I’m just inter­ested in con­vert­ing all the files in a par­tic­u­lar folder (and sub­folders) into new­er file formats. To do this make the fol­low­ing edits. This will owrk with path-depths up to 9 sub­folders deep — there seems to be a bug that pre­vents it work­ing bey­ond that.

[Con­ver­sion­Op­tions]
FullUpgradeOnOpen=1
CABLogs=0
MacroControl=0

[Folder­sTo­Con­vert]
fldr=full-path-to-your-folder-with-trailing-slash
ConvertSubfolders=1

[Con­ver­sion­Info]
SourcePathTemplate=*\*\*\*\*\*\*\*\*\
DestinationPathTemplate=*1\*2\*3\*4\*5\*6\*7\*8\*9\

Note — If you just want to dis­able secur­ity warn­ings (e.g. in word) then please refer to the help­ful instruc­tions provided by Microsoft.

کرنے کے لئے شکریہ Eric White for the ini­tial links and clues

Leave a Reply