This Python utility uses the Microsoft Word COM API to convert the .doc files in a directory and its subdirectories into .docx files.
- I highly recommend taking a backup of the directory that you will run the conversion on.
- The program will ask you if you want to delete the original .doc files.
- Don't use Word whilst the program is running.
- It's not fast. The Word COM API is quite slow to perform file I/O operations, so depending on how many files you need to convert, it could take a while.
Open Command Prompt in the program directory and run the following commands.
py -m venv .venv
.venv\Scripts\activate.bat
py -m pip install -r requirements.txt
py -m docx-converter
deactivate