TxT2Docx/启动程序.bat
2025-09-26 15:49:06 +08:00

33 lines
668 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
chcp 65001 >nul
title TXT2DOCX - 智能文本转Word文档工具
echo.
echo ==========================================
echo TXT2DOCX - 智能文本转Word文档工具
echo ==========================================
echo.
echo 正在启动程序...
echo.
python main.py
if errorlevel 1 (
echo.
echo ❌ 程序启动失败!
echo.
echo 可能的解决方案:
echo 1. 确保已安装 Python 3.7+
echo 2. 安装必要依赖:
echo pip install python-docx pillow tkinter
echo 3. 运行项目检查python check_project.py
echo.
pause
) else (
echo.
echo ✅ 程序已正常关闭
echo.
)
pause