home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Aktiv 1
/
CDA1_96.ISO
/
novell
/
ban_upgr.exe
/
arj
/
!UPGRADE.BAT
Wrap
DOS Batch File
|
1995-10-10
|
2KB
|
68 lines
:!UPGRADE.BAT
@echo off
:┌───────────────────────────────────────────────────────────────────────────┐
:│ *** For resellers / "small" upgrade *** │
:└───────────────────────────────────────────────────────────────────────────┘
If "%3"=="FIN" goto FINAL
If "%3"=="FINAL" goto FINAL
If "%1"=="" goto DIR_ERR
If "%2"=="" goto DIR_ERR
If "%3"=="" goto DIR_ERR
If "%4"=="" goto DIR_ERR
If not exist %1%2\*.* If not exist %1%2*.* goto DIR_ERR
If not exist %3%4\*.* If not exist %3%4*.* goto DIR_ERR
:COPY
echo.
echo.
echo !UPGRADE.BAT
echo ============
echo.
echo.
echo │
echo !UPGRADE kopiert neue Dateien in │ !UPGRADE copies new files into the
echo die Bibliothek "Marktplatz". │ "market place" library.
echo │
echo (Weiter: eine Tasten drücken.) │ (Press any key to continue.)
echo │
echo.
>NUL pause
%1
cd %2
>NUL xcopy .\PLC\*.* %3%4\PLC /S/E/V
%3
If exist .\TMP\!BAN_LIB.PLC del .\TMP\!BAN_LIB.PLC
goto FINAL
:FINAL
echo.
echo │
echo Das Upgrade wurde beendet. │ The upgrade is finished.
echo │
echo.
echo.
pause
goto END
:DIR_ERR
echo.
echo.
echo ?!? »%1%2« ?!?
echo.
If "%2"=="" echo SYNTAX: !upgrade [dest.drive] [dest.path]
If "%2"=="" echo.
>nul pause
goto END
:END
If not "%3"=="" If not "%3"=="FIN" If not "%3"=="FINAL" %3
If not "%4"=="" cd %4