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

  • Csontikka

    aktív tag

    válasz neooo #90 üzenetére

    Szia

    ezeket a parancsokat értelmezd: cnetsh interface help

    netsh interface ip set address name="Local Area Connection" static 192.168.0.100 255.255.255.0 192.168.0.1 1

    netsh interface ip set address "Local Area Connection" dhcp

    netsh interface ip set dns "Local Area Connection" dhcp

    netsh interface ip set wins "Local Area Connection" static 192.168.0.200

    (súgók parancssorból:

    netsh int ip set adress help
    netsh int ip set help
    stb)

    ---------------------------------------

    @echo off
    REM CHOOSE.BAT
    CHOICE /N Press Y or N:
    REM N is the second of two choices, so...
    if errorlevel 2 goto NO
    echo You chose YES
    goto end
    :NO
    echo You chose NO
    :end

    -------------

    choice.com XP-nek már nem tartozáka, operáld ki egy win98-ból és rakd be a windows mappájába, vagy keress rá pl DC-n :)

    Remélem nagyjából vili, nem akartam mindent megoldani :)

    Működés:
    batch file indul,
    choice.com teszi fel a kérdést
    Yes nél egyik, No-nál másik szálon megy tovább

    netsh beállítja staticra vagy dinamicra a hálókártya IP-jét, az átjáról a dns-t meg a wins-t!

    Sok sikert!

    Üdv
    Csontikka

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