home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 13
/
mediashare_13.zip
/
mediashare_13
/
ZIPPED
/
UTILS
/
MWUSRS12.ZIP
/
T.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-03-05
|
2KB
|
84 lines
REM THIS BATCH FILE IS PART OF MWUSRS12.ZIP
REM BY JIM DONOVAN, MAR 94
REM (203)646-9610 (V), JD441@DELPHI.COM
@ECHO OFF
CLS
ECHO.
ECHO.
CHOICE /C:123 /T:1,05 What is your Windows user number (5 secs till 1 is auto-selected)
IF ERRORLEVEL 3 GOTO THREE
IF ERRORLEVEL 2 GOTO TWO
IF EXIST \WINDOWS\ONE.DAT GOTO INI1
ECHO DO NOT ERASE THIS FILE-USED BY \W.BAT! > \WINDOWS\ONE.DAT
DEL \WINDOWS\TWO.DAT
DEL \WINDOWS\THREE.DAT
CD \WINDOWS\ONE
ECHO.
ECHO WAIT, COPYING FILES...
ECHO.
COPY . ..
COPY WNTOOLS.GRP \DOS
:INI1
CD\
WIN
CD \WINDOWS
ECHO.
ECHO WAIT, COPYING FILES...
ECHO.
COPY *.INI ONE
COPY *.GRP ONE
COPY \DOS\*.GRP \WINDOWS\ONE
GOTO END
REM 2222222222222222222222222222222222222222222222222222222222222222222222222
:TWO
IF EXIST \WINDOWS\TWO.DAT GOTO INI2
ECHO DO NOT ERASE THIS FILE-USED BY \W.BAT! > \WINDOWS\TWO.DAT
DEL \WINDOWS\ONE.DAT
DEL \WINDOWS\THREE.DAT
CD \WINDOWS\TWO
ECHO.
ECHO WAIT, COPYING FILES...
ECHO.
COPY . ..
COPY WNTOOLS.GRP \DOS
:INI2
CD\
WIN
CD \WINDOWS
ECHO.
ECHO WAIT, COPYING FILES...
ECHO.
COPY *.INI TWO
COPY *.GRP TWO
COPY \DOS\*.GRP \WINDOWS\TWO
GOTO END
REM 3333333333333333333333333333333333333333333333333333333333333333333333333
:THREE
IF EXIST \WINDOWS\THREE.DAT GOTO INI3
ECHO DO NOT ERASE THIS FILE-USED BY \W.BAT! > \WINDOWS\THREE.DAT
DEL \WINDOWS\ONE.DAT
DEL \WINDOWS\TWO.DAT
CD \WINDOWS\THREE
ECHO.
ECHO WAIT, COPYING FILES...
ECHO.
COPY . ..
COPY WNTOOLS.GRP \DOS
:INI3
CD\
WIN
CD \WINDOWS
ECHO.
ECHO WAIT, COPYING FILES...
ECHO.
COPY *.INI THREE
COPY *.GRP THREE
COPY \DOS\*.GRP \WINDOWS\THREE
:END
CD\
CLS
ECHO.
ECHO THANKS for using Multi-Windows Users, Version 1.2
ECHO.