zoukankan      html  css  js  c++  java
  • Wbat的使用详解

    Wbat的使用详解
    批处理:
    echo off
    tw.exe /np /n3 > nul
    CLS
    recur
    call w.bat box @MENU.BAT:sc_1
    if errorlevel 100 goto _off
    if "%?%" == "1" goto _dm
    if "%?%" == "2" goto _bd
    if "%?%" == "3" goto _to
    if "%?%" == "4" goto _gho
    if "%?%" == "5" goto _end
    goto _end

    :sc_1
    ※※※※※※※※※※※※※※※※※※※※※※※※※※
    ※                                                ※
    ※          [1、运行 DM V9.56 万用版]             ※
    ※                                                ※
    ※          [2、运行 坏盘分区器 中文版]           ※
    ※                                                ※
    ※          [3、运行 零磁道修复 工具]             ※
    ※                                                ※
    ※          [4、运行 GHOST2003]                   ※
    ※                                                ※
    ※          [5、DOS7 命 令 行]                    ※
    ※                                                ※
    ※※※※※※※※※※※※※※※※※※※※※※※※※※
    ::

    :_DM
    @echo off
    %RAMD%:\extract /y /e /l %RAMD%: DM956.cab > NUL
    %RAMD%:
    dm\dm.com %1 %2 %3 %4 %5%
    reboot

    :_bd
    call w.bat box @MENU.BAT:sc_2
    if errorlevel 100 goto _off
    if "%?%" == "1" goto _bd1
    if "%?%" == "2" goto _bd2
    goto _end

    :sc_2
    ※※※※※※※※※※※※※※※※※※※※※※※
    ※              警        告                ※
    ※                                          ※
    ※  请小心使用本程序,它会对硬盘数据产生不  ※
    ※  可恢复的破坏。为安全起建,最好只用于有  ※
    ※  问题的硬盘!!!                           ※
    ※                                          ※
    ※      [1、运行 坏盘分区器 中文版]         ※
    ※                                          ※
    ※      [2、退    出]                       ※
    ※                                          ※
    ※※※※※※※※※※※※※※※※※※※※※※※
    ::

    :_bd1
    cls
    FBDISK.EXE
    reboot

    :_bd2
    TW.EXE/q >nul
    goto _off

    :_to
    TW.EXE/q >nul
    T0.BAT
    goto _end

    :_gho
    call w.bat box @MENU.BAT:sc_3
    if errorlevel 100 goto _off
    if "%?%" == "1" goto _gh1
    if "%?%" == "2" goto _gh2
    goto _end

    :sc_3
    ※※※※※※※※※※※※※※※※※※※※※※※
    ※                                          ※
    ※      [1、在虚拟盘中运行 GHOST 2003]      ※
    ※                                          ※
    ※      [2、在光驱中运行 GHOST 2003]        ※
    ※                                          ※
    ※※※※※※※※※※※※※※※※※※※※※※※
    ::

    :_gh1
    %RAMD%:
    cls
    MD GHOST
    CD GHOST
    COPY %CDROM%:\BOOT\GHOST.exe > nul
    TW.EXE/q >nul
    GHOST
    CD\
    DELTREE/Y GHOST
    cls
    goto _off

    :_gh2
    %CDROM%:
    cls
    TW.EXE/q >nul
    CD\BOOT
    GHOST
    cls
    goto _off

    :_off
    cls
    CD\
    MENU.bat

    :_end
    CLS

  • 相关阅读:
    WEB API&API
    event flow
    JS-for的衍生对象
    JS-function
    Object Constructor
    前端发展史
    JavaScript中document.getElementById和document.write
    正则表达式把Paul换成Ringo
    11th blog
    10th week blog
  • 原文地址:https://www.cnblogs.com/fjchenq/p/845182.html
Copyright © 2011-2022 走看看