Réduire
Brouillon
0
12/07/2013
0

'ELSE' is not recognized as an internal or external command, operable program or batch file.

Mots-clés:
Batch MSDOS Windows

Le ELSE doit impérativement être écrit ) ELSE ( comme dans l'exemple ci-dessous (parenthèse fermante ELSE et parenthèse ouvrante sur la même ligne)
IF %OSVERSION% == 6.1 (

SET PATH=%PATH%;C:\WINNT\system32;C:\WINNT

) ELSE (

SET PATH=%PATH%;C:\Windows\System32;C:\Windows

)