home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. CD ROM (Annual Premium Edition)
/
premium.zip
/
premium
/
IBMOS2_1
/
MSVC_OS2.ZIP
/
OS2FIX.BAT
next >
Wrap
DOS Batch File
|
1993-09-03
|
1KB
|
46 lines
@echo off
if x==x%1 goto help
if not exist %1\bin\dosxnt.exe goto missing
patch /nop /q %1\bin os2fix
if errorlevel 1 goto done
echo.
echo The file DOSXNT.EXE has been successfully updated and
echo the command line tools of Visual C++ 1.0 may now be
echo run under OS/2.
echo.
echo VERY IMPORTANT: You must change the "DPMI_DOS_API" setting
echo for your DOS command shell to "enabled" for DOSXNT.EXE to
echo run properly. See the READ.ME file for more information.
echo.
goto done
:help
echo.
echo This batch file updates the Microsoft Visual C++ compiler
echo package so that the command line tools of the package
echo (CL, NMAKE, LINK, etc.) can run under OS/2 2.1. To use
echo the batch file, give the path of the top level directory
echo where you have installed the Visual C++ on your disk as
echo a command line argument to the batch file. Example:
echo.
echo OS2FIX C:\MSVC.100
echo.
goto done
:missing
echo.
echo The file DOSXNT.EXE is not located in the BIN subdirectory
echo of the directory "%1". Please correct the spelling of
echo the directory "%1" and run the OS2FIX batch file again.
echo.
:done