Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have created batch file that start apache and mysql server,copy try.exe on desktop and run project in browser.that works fine.but onclick desktop shorcut error occured.error is windows can not find mysql_start.exe. actully i convert try.bat into try.exe. IN installation folder it work fine,but on shortcut error occured. the code is:

@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

echo Apache konnte nicht gestartet werden
echo Apache could not be started


share|improve this question

migrated from Mar 5 '13 at 17:14

This question came from our site for professional and enthusiast programmers.

The only thing I could think of is either the filepath is incorrect for one of them, or the path to your userprofile has spaces in it. – Prof Pickle Feb 28 '13 at 6:16

1 Answer 1

It all looks right to me. Try double-checking your file name and user name, as @:Prof Pickle said.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.