Created
May 10, 2016 08:05
-
-
Save peterdalle/bb6b8cf14ad597f1d3b792246b29083b to your computer and use it in GitHub Desktop.
Batch file to convert all DOCX files in the current directory to TXT files using Pandoc.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
REM Batch file to convert all DOCX files in the current directory to TXT files using Pandoc. | |
for %%f in (*.docx) do ( | |
echo %%~nf | |
pandoc -f docx -t plain -o "%%~nf.txt" "%%~nf.docx" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment