How do I repair infected Word files

Office & collaboration

Your report that you wrote with Word cannot be opened? Perhaps the text is damaged and can be repaired. The XML format from Microsoft Office 2007 onwards can be used to restore such files. However, this procedure is not entirely trivial. It's easier with Google's Chrome Internet browser.

Rename Word file

In order to be able to open a damaged Word file, you must first extract it from the Word archive. You can then read the text in one piece. To do this, change the file type of the file document.xml.

You can't see the file extensions in Windows Explorer? No problem, just activate the corresponding function. This is done by pressing the key when Windows Explorer is started under Windows Vista and Windows 7. This brings up the menu bar. In Windows XP this appears automatically. Then click on "Tools, Folder Options" and in the next window on the "View" tab. Here you have to remove the check mark in the "Advanced Settings" list in front of "Hide extensions for known file types" and confirm the change made with "OK".

Turn the XML (Extensible Markup Language) file into an HTML (Hypertext Markup Language) file, simply add the extension to the complete file name .html. Result: document.xml.html. The document modified in this way can be displayed in the Internet browser without XML elements.

Google Chrome: Correct display

Many Internet browsers have difficulties with umlauts and do not display them correctly. There are no problems with Google Chrome. If this is not yet on your system, download the browser from the Internet and install it. After that, start Chrome and drag the file document.xml.html in the browser window to open the document.

You can easily transfer the entire text or individual text passages into a new document. To copy the entire text, press the and keys. Then copy the marked area either with the key combination and or by right-clicking on the highlighted part and selecting the "Copy" command from the menu that appears. Then switch to Word and position the cursor at the desired position and paste the copied text - with the and keys or with the right mouse button and "Paste" from the context menu.

This article is based on a contribution from our sister publicationPC world. (sjf)