home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / bin / somenv.bat < prev    next >
Encoding:
DOS Batch File  |  1996-01-24  |  1.3 KB  |  44 lines

  1. @echo off
  2. rem
  3. rem ORIGINS: 27
  4. rem
  5. rem
  6. rem 10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1995
  7. rem All Rights Reserved
  8. rem Licensed Materials - Property of IBM
  9. rem US Government Users Restricted Rights - Use, duplication or
  10. rem disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  11. @REM %Z% %I% %W% %G% %U% [%H% %T%] 
  12.  
  13. rem -- If you do not set SOMDRIVE and SOMBASE in your AUTOEXEC.BAT file
  14. rem -- then uncomment and customize the following lines for your system.
  15. rem -- set SOMDRIVE=C:
  16. rem -- set SOMBASE=%SOMDRIVE%\som
  17. rem -- Once you have set SOMBASE you can delete the following line:
  18.  
  19. if "%SOMBASE%" == "" goto firstime
  20.  
  21. rem -- With SOMIR set as here, sc -sir will create/update the IR file named
  22. rem -- SOM.IR located in the "current" directory where sc is done.
  23. rem -- The created/updated IR is always the last file mentioned in the SOMIR
  24. rem -- list.  IR searches always begin at the front of the list.
  25.  
  26. set SOMIR=%SOMBASE%\etc\som.ir;SOM.IR
  27. set SMINCLUDE=.;%SOMBASE%\include;
  28. set INCLUDE=.;%SOMBASE%\include;%INCLUDE%
  29. set DPATH=%SOMBASE%\msg;%DPATH%
  30. set LIB=.;%SOMBASE%\lib;%LIB%
  31. set SC=sc
  32. set PATH=%SOMBASE%\bin;%PATH%
  33. echo Setup SOM environment with SOMBASE = %SOMBASE%
  34. goto end
  35.  
  36. :firstime
  37. echo Edit SOMENV.BAT or AUTOEXEC.NT to set SOMBASE.
  38. goto end
  39.  
  40. :end
  41.  
  42.  
  43.  
  44.