home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 29 Fixes_o
/
29-Fixes_o.zip
/
dls50.zip
/
NETGUI.BAT
< prev
next >
Wrap
DOS Batch File
|
1996-06-04
|
1KB
|
58 lines
@echo off
if not %1.==. if not %1==/T if not %1==/t goto help
goto IsFullLoaded
:help
echo ╔═════════════════════════════════════╗
echo ║ Batch file to start the DLS 4.0 GUI ║
echo ╠═════════════════════════════════════╣
echo ║ Do not delete or modify this file. ║
echo ║ It is created during install and is ║
echo ║ required to start the GUI. Text ║
echo ║ mode can be started by passing '/t' ║
echo ║ as a parameter to this batch file. ║
echo ╚═════════════════════════════════════╝
goto x_exit
:IsFullLoaded
chkrdr
if errorlevel 2 goto StartFullRdr
if errorlevel 1 goto BasicIsLoaded
if errorlevel 0 if not errorlevel 1 goto start
goto x_exit
:StartFullRdr
net start full
if errorlevel 0 if not errorlevel 1 goto start
goto x_exit
:start
checkxms 2000 x
if errorlevel 2 goto insufmem
if errorlevel 1 goto insufmem
echo Initializing NETGUI...
dzg4.exe %1
if errorlevel 9 goto runapp
goto end
:runapp
rem **** Make sure it's a 9 ****
if errorlevel 10 goto end
mode co80
call go.bat
cls
goto start
:BasicIsLoaded
net help 3652
goto x_exit
:insufmem
echo ERROR: The DLS GUI requires at least 2M of free extended memory.
goto x_exit
:end
mode co80
:x_exit