weil es mich gerade interessiert hat, hab ich noch etwas im Internet gestöbert.
choice ist eine DOS-Programm aus Win9x, ab WinNT ist es nicht mehr dabei. Es läuft aber auch unter NT/Win2000/XP.
Allerdings gibt es da auch andere Lösungen wie z.b:
@echo off
echo Choose [Y/N] ?
:start
set /P CH=
if /I "%CH%"=="Y" goto yes
if /I "%CH%"=="N" goto nop
goto start
:yes
copy bla bla
goto end
:nop
copy null
goto end
:end
echo ENDE
____________________________________
cya,
artur
|