Microsoft KB Archive/90535

{|
 * width="100%"|

Setting Up BRIEF for MS-DOS in Windows NT

 * }

Q90535

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK) for Windows NT, version 3.1

-

SUMMARY
Under the current release of Windows NT, BRIEF's environment must be set up manually in order to run BRIEF for MS-DOS in Windows NT. As a workaround, set BRIEF's environment variables manually before invoking BRIEF from a batch file.

MORE INFORMATION
To create this batch file, follow these steps:

 Run BRIEF's Setup. If you haven't installed BRIEF on your computer already, run Setup from BRIEF's installation disk; if it is already installed, run Setup from its root directory (that is, C:\BRIEF). Make Setup selections normally. When exiting, select &quot;Configure BRIEF&quot;. To the query &quot;What should SETUP do with changes to C:\CONFIG.SYS?&quot;, respond &quot;d&quot; (discard). To the query &quot;What should SETUP do with changes to C:\AUTOEXEC.BAT?&quot;, respond &quot;w&quot; (write alternate file). Enter the name of file (for example, BNT.CMD). Don't elect to reboot, and don't start BRIEF yet.  Edit (in BRIEF or other editor) BNT.CMD. Delete all lines but those setting BRIEF's environment variables. Add a line that invokes BRIEF, so that BNT.CMD resembles the following:       set bpath=c:\BRIEF\macros set bhelp=c:\BRIEF\help set bfile=c:\BRIEF\state.rst set bflags=-i120Mz -mJS -mrestore -Dega -D101key set btmp=c:\temp set BCC=&quot;c1 -c %s.c&quot; set BCM=cm -e c:\BRIEF\b.exe   To get BRIEF to load files named at the command line, add replaceable parameters to the last line:       c:\BRIEF\b.exe %1 %2 %3 </li> Save BNT.CMD, and put it somewhere in NT's path (for example, C:\NT\SYSTEM).</li></ol>

You can now invoke BRIEF from any directory executing the command lines &quot;bnt&quot;, &quot;start bnt&quot;, or &quot;bnt filename.c *.h&quot;, and so on.

BRIEF works best when run full-screen. To run BRIEF in full-screen mode, go to the Program Manager, double-click the MS-DOS Prompt icon in the Main group; or choose Run from the File menu, enter CMD, and choose OK. When the command window has displayed, press ALT+ENTER, which will give you a full-screen command console.

Additional query words: prodnt

Keywords : kb3rdparty

Issue type :

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch kbWin32SDKNT310