home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 June
/
Chip_2004-06_cd1.bin
/
zkuste
/
boot
/
download
/
AUTOEXEC.BAT
next >
Wrap
DOS Batch File
|
2004-05-10
|
3KB
|
96 lines
@ECHO OFF
SET PATH=A:\
REM V²b∞r proveden v CONFIG.SYS
GOTO %config%
:CD
REM Pokud je vybrßn bod
REM Start computer with CD-ROM and with RAM-DRIVE support.
:NOCD
REM Pokud je vybrßn bod
REM Start computer without CD-ROM and with RAM-DRIVE support.
REM Vymazßnφ obrazovky
CLS
SET FFD_VERSION=W98
REM UrΦφm nßzev virtußlnφho disku v prom∞nnΘ prost°edφ RAMD
REM nap°. Y
SET RAMD=Y
REM SpouÜtφm ovladaΦ
xmsdsk 2048 %RAMD%: /y /t
REM UrΦφm pφsmeno CDROM disku v prom∞nnΘ prost°edφ CDROM
REM nap°. Z
SET CDROM=Z
REM Cesta k doΦasn²m soubor∙m
SET TEMP=%RAMD%:\
SET TMP=%RAMD%:\
REM Nastavuji mo₧nΘ cesty
PATH=%RAMD%:\;A:\;%RAMD%:\VC;%RAMD%:\TOOLS;%RAMD%:\NTFSDOS;%RAMD%:\MOUSE;%RAMD%:\EXT2;%RAMD%:\REGVIEW;%RAMD%:\ARC
echo Nastavenφ p°φkazu PATH = %PATH%
echo Kopφruji p°φkazov² procesor na virtußlnφ disk %RAMD%.
@echo OFF
copy command.com %RAMD%:\ > NUL
SET comspec=%RAMD%:\command.com
echo P°φkazov² procesor nainstalovßn na virtußlnφ disk %RAMD%.
echo Kopφruji rozbalovacφ program archφvu na virtußlnφ disk %RAMD%.
@echo OFF
copy pkunzip.exe %RAMD%:\ > NUL
echo Rozbalovacφ program archφvu nainstalovßn na virtußlnφ disk %RAMD%.
echo P°echßzφm na virtußlnφ disk %RAMD%.
%RAMD%:
echo Aktußlnφ disk - %RAMD%.
echo ZaΦφnßm rozbalovat archφv s nutn²mi programy
echo (struktura slo₧ek bude zachovßna)
@echo OFF
%RAMD%:\pkunzip.exe -d A:\nc.zip > NUL
CLS
echo Na virtußlnφ disk nainstalovßny nßsledujφcφ programy:
echo Sprßvce soubor∙: %RAMD% : \ NC \
echo Norton Commander
echo Volkov Commander
echo OvladaΦ myÜi (nespuÜt∞n) %RAMD% : \ MOUSE \
echo Prost°edek prohlφ₧enφ obsahu NTFS disk∙ (nespuÜt∞n) %RAMD% : \ NTFSDOS \
echo Prost°edek prohlφ₧enφ obsahu EXT2 disk∙ (nespuÜt∞n) %RAMD% : \ EXT2 \
echo LDIR
echo LREAD
echo Utility: %RAMD% : \ TOOLS \
echo FORMAT
echo FDISK
echo DISKEDIT
IF "%config%"=="NOCD" GOTO NOCD1
REM Pokud je vybrßn bod nabφdky spuÜt∞nφ s podporou CD
echo ZaΦφnßm spouÜt∞t ovladaΦ CDROM SHSUCDX.EXE, na Z.
@echo OFF
LH %RAMD%:\TOOLS\SHSUCDX.EXE /D:MY_CD,%CDROM% > NUL
echo CDROM v systΘmu nastaven na Z.
:NOCD1
echo Za°azuji podporu p°φkazovΘ °ßdky ve stylu UNIX
@echo OFF
prompt=[ DOS Prompt Tip - Use Tab to autocomplete file and directory names ]$_$p$g
%RAMD%:\DOSED\dosed.com -q -i -d > NUL
echo Podpora p°φkazovΘ °ßdky ve stylu UNIX za°azena
rem clean up environment variables
set CDROM=
set RAMD=
vc.com
:PLAIN
:QUIT