home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c004 / 4.ddi / NETBIOS / MAKESRV.BAT < prev    next >
Encoding:
DOS Batch File  |  1989-04-18  |  914 b   |  37 lines

  1. echo off
  2. rem -------------------------------------
  3. rem script to build server for ctree
  4. rem MAKESRV { S or C} where
  5. rem letter is model size.  The server
  6. rem is named ctsrvr.exe and is in
  7. rem directory { SSRV or CSRV}
  8. rem -------------------------------------
  9.  
  10. rem check syntax
  11. if XX%1==XX goto usage
  12. if %1==S goto small
  13. if %1==s goto small
  14. if %1==C goto compact
  15. if %1==c goto compact
  16. echo ************
  17. echo SYNTAX ERROR
  18. echo ************
  19. :usage
  20. echo Program to build server for c-tree under Netbios
  21. echo *****:
  22. echo usage: MAKESRV {S or C}
  23. echo *****:
  24. echo where S=small & C=compact
  25. echo The server (CTSRVR.EXE) is created in
  26. echo directory nSRV (eg. SSRV for small model).
  27. goto done
  28. :small
  29. if not exist SSRV\*.* md SSRV
  30. make D=SSRV CM=/AS AM=SMALL makesrv.mak
  31. goto done
  32. :compact
  33. if not exist CSRV\*.* md CSRV
  34. make D=CSRV CM=/AC AM=COMPACT CP=/CP:1 makesrv.mak
  35. goto done
  36. :done
  37.