⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setup.bat

📁 反汇编源码
💻 BAT
字号:
rem PRECCX 242installation.             P.T Breuer Oct. 1994
@echo off
rem This is setup.bat.
rem %1 is the source drive and directory, terminating in a \
rem %2 is the target drive and directory, terminating in a \

set source=%1
set target=%2
if "%target%"=="" set target=c:\preccx\

rem If this is going to work for sure we need a single component path but
rem things may be OK if the path is longer and only the last component
rem of it needs making now.
if not exist %target%\nul mkdir %target%
if not exist %target%\nul echo I couldn't make %target% directory!!!
if not exist %target%\nul exit

rem executables  -> BIN
unzip -u %source%preccxx.zip -d %target%bin
if exist %target%bin\nul if not "%target%"=="%source%" del %target%preccxx.zip

rem manuals      -> MAN
unzip -u %source%preccxd.zip -d %target%man
if exist %target%man\nul if not "%target%"=="%source%" del %target%preccxd.zip

rem examples     -> EXAMPLE
unzip -u %source%preccxe.zip -d %target%example
if exist %target%example\nul if not "%target%"=="%source%" del %target%preccxe.zip
unzip -u %target%example\fib.zip -d %target%example\fib
if exist %target%example\fib\nul del %target%example\fib.zip
unzip -u %target%example\calculat.zip -d %target%example\calculat
if exist %target%example\calculat\nul del %target%example\calculat.zip
unzip -u %target%example\cobol.zip -d %target%example\cobol
if exist %target%example\cobol\nul del %target%example\cobol.zip
unzip -u %target%example\occam.zip -d %target%example\occam
if exist %target%example\occam\nul del %target%example\occam.zip
unzip -u %target%example\oberon2.zip -d %target%example\oberon2
if exist %target%example\oberon2\nul del %target%example\oberon2.zip

rem headers      -> INCLUDE
unzip -u %source%preccxi.zip -d %target%include
if exist %target%include\nul if not "%target%"=="%source%" del %target%preccxi.zip

rem libraries    -> LIB
unzip -u %source%preccxl.zip -d %target%lib
if exist %target%lib\nul if not "%target%"=="%source%" del %target%preccxl.zip

rem other docs   -> DOC
unzip -u %source%preccxn.zip -d %target%doc
if exist %target%doc\nul if not "%target%"=="%source%" del %target%preccxn.zip

rem sources      -> SRC
unzip -u %source%preccxs.zip -d %target%src
if exist %target%src\nul if not "%target%"=="%source%" del %target%preccxs.zip

echo Now run README.EXE from the MANuals directory!

rem suicide at eof
set source=
if exist %target%setup.bat if not "%target%"=="%source%" del %target%setup.bat

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -