바탕 화면 바로 가기가 작동하지 않습니다

바탕 화면 바로 가기가 작동하지 않습니다

내가 만들었다Apache 및 mysql 서버를 시작하고 데스크톱에서 try.exe를 복사하고 브라우저에서 프로젝트를 실행하는 배치 파일.괜찮아요.하지만 onclick 바탕 화면 바로가기 오류가 발생했습니다. 오류는 Windows에서 mysql_start.exe를 찾을 수 없다는 것입니다.. 사실 난try.bat를 try.exe로 변환. 설치 폴더에서는 제대로 작동하지만 바로 가기 오류가 발생했습니다. 코드는 다음과 같습니다

@echo off
echo Diese Eingabeforderung nicht waehrend des Running beenden
echo Bitte erst bei einem gewollten Shutdown schliessen
echo Please close this command only for Shutdown
echo Apache 2 is starting ...

start  xampp_start.exe /h
start   firefox.exe http://localhost/xampp/newamcs12/index.php
copy "try.exe" %userprofile%\desktop
if errorlevel 255 goto finish
if errorlevel 1 goto error
goto finish

:error
echo.
echo Apache konnte nicht gestartet werden
echo Apache could not be started

pause

:finish
CLS
EXIT

답변1

내가 보기엔 다 괜찮아 보이는데. @:Pickle 교수가 말했듯이 파일 이름과 사용자 이름을 다시 확인해보세요.

관련 정보