home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dtswps.zip / DTSFILES.ZIP / SETDTS.CMD < prev    next >
OS/2 REXX Batch file  |  1996-02-16  |  500b  |  18 lines

  1. @echo off
  2. set dtsmindir=%1
  3. if "%dtsmindir%"=="" GOTO usage
  4. set x=%BEGINLIBPATH%
  5. set path=%dtsmindir%;%path%
  6. set dpath=%dtsmindir%;%dpath%
  7. set beginlibpath=%dtsmindir%;%x%
  8. set include=%dtsmindir%;%include%
  9. set sminclude=%dtsmindir%;%sminclude%
  10. set lib=%dtsmindir%;%lib%
  11. echo %dtsmindir% is now at the head of the following environment variables:
  12. echo -- path, dpath, beginlibpath, include, sminclude, and lib
  13. goto end
  14. :usage
  15. echo usage: setdts takes a directory as an argument
  16. :end
  17.  
  18.