@echo off call :0 "%ProgramFiles%\Internet Explorer" :0 if exist "%~1" (echo;Y) else echo;N pause复制代码