home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / apps / print / progs / gscript / !GS / Specific / bat / gsconfig < prev    next >
Encoding:
Text File  |  1991-10-26  |  419 b   |  23 lines

  1. echo off
  2. if exist gconfig.h erase gconfig.h
  3. if exist gconfig.ps erase gconfig.ps
  4. echo %% >gconfig.ps
  5. if exist _temp_ erase _temp_
  6. echo + >_temp_
  7. :top
  8. if '%1'=='' goto done
  9. if '%1'=='+' goto feat
  10. echo d(gs_%1_device) >>gconfig.h
  11. type %1.dev >>_temp_
  12. shift
  13. goto top
  14. :feat
  15. shift
  16. if '%1'=='' goto done
  17. echo f(gs_init_%1) >>gconfig.h
  18. echo (gs_%1.ps) >>gconfig.ps
  19. goto feat
  20. :done
  21. sort <_temp_ | uniq >gconfig.tr
  22. erase _temp_
  23.