Új hozzászólás Aktív témák

  • klambi

    addikt

    válasz Sk8erPeter #4765 üzenetére

    na ez lett, így megy kösszi!
    a choice-t hogy írom át set esre? :W :R

    @ECHO Off
    cls
    echo Valassz!
    echo.
    echo 1 - Ido
    echo 2 - Datum
    echo 3 - Rendszer info
    echo 4 - Semmi nem erdekel!
    echo 5 - A jeghegy csucsa!!
    echo 6 - Szin!
    echo 7 - Proba!
    echo.
    choice /c:1234567 /n Valassz(1,2,3,4,5,6,7)

    if errorlevel 7 goto seven
    if errorlevel 6 goto six
    if errorlevel 5 goto five
    if errorlevel 4 goto quit
    if errorlevel 3 goto three
    if errorlevel 2 goto two
    if errorlevel 1 goto one
    :one
    echo ido:
    time /t
    goto quit
    :two
    echo datum:
    date /t
    goto quit
    :three
    echo rendszer:
    ver
    goto quit
    :five
    c:\windows\system32\dllcache\shutdown.exe -t 10
    :six
    @echo off & setlocal EnableDelayedExpansion
    title Changing colors
    set szinek=7e 1d 2c 3a 4b 5f 6d 7e 0f
    FOR %%S IN (%szinek%) DO @(
    echo Actual color: %%S
    color %%S
    PING 1.1.1.1 -n 1 -w 1000 >NUL
    )
    pause
    pause
    goto quit
    :seven
    explorer http://www.coches-es.com/imagenes/noticias/hummer-rosa.jpg
    :quit
    pause

Új hozzászólás Aktív témák