Files
Word_Attachment_Extractor/build.bat
T
Michael-A-SloanandCursor 774f919179 Add Word Attachment Extractor GUI app and packaging.
Extract embedded files from Word docs with original names, selectable output, and a Windows exe build script.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 11:08:23 -04:00

19 lines
404 B
Batchfile

@echo off
setlocal
cd /d "%~dp0"
echo Installing dependencies...
python -m pip install -r requirements.txt
if errorlevel 1 exit /b 1
echo.
echo Building WordAttachmentExtractor.exe ...
python -m PyInstaller --noconfirm --clean --onefile --windowed --name "WordAttachmentExtractor" app.py
if errorlevel 1 exit /b 1
echo.
echo Done. EXE is here:
echo %cd%\dist\WordAttachmentExtractor.exe
echo.
pause