questo è il mio codice
eseguo su win 2000 service pack 4codice:echo off cd ..\..\..\programmi\apache~1\apache echo Menù echo R - run echo S - stop echo A - restart Choice/c:[r,s,a] if errorlevel 3 goto restart if errorlevel 2 goto stop if errorlevel 1 goto run :restart apache -k restart :stop apache -k stop :run apache -k start
mi dà:
e di conseguenza mi fa partire apache e basta...codice:D:\Documents and Settings\Administrator\Desktop>echo off Men¨ R - run S - stop A - restart "Choice" non è riconosciuto come comando interno o esterno, un programma eseguibile o un file batch. Cannot read apache PID file d:/programmi/apache group/apache/logs/httpd.pid Cannot read apache PID file d:/programmi/apache group/apache/logs/httpd.pid Apache/1.3.28 (Win32) running...
![]()
![]()
sono alle prime armi con i file batch ma dov'è l'errore??????

Rispondi quotando