home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Riki 1995 December
/
Riki1295-15.ima
/
INSTALUJ.BAT
next >
Wrap
DOS Batch File
|
1995-11-28
|
411b
|
24 lines
@echo off
if "%1" == "" goto syntax_error
if "%2" == "" goto syntax_error
if not exist %1%2\NUL mkdir %1%2 > NUL
copy quad.exe %1%2 > NUL
%1
cd %2
%1quad.exe
del %1quad.exe
goto end
:mkdir_error
echo Chyba pri vytvarani adresara %1%2 !!!!
goto end
:syntax_error
echo
echo Syntax: instaluj.bat cielovy_disk: cielovy_adresar
echo
echo Priklad: instaluj.bat d: \games\quadrax
:end