@echo off if "%1"=="h" goto begin start mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)&&exit :begin REM c: cd C:UserswjxDesktopocrPaddleOCR-release-2.3 set CUDA_VISIBLE_DEVICES=0 hub serving start -c "C:UserswjxDesktopocrPaddleOCR-release-2.3deployhubservingocr_systemconfig.json"
存为bat,然后开机启动