home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a120 / 1.ddi / WATCOM_C / WAT77.C < prev    next >
Encoding:
C/C++ Source or Header  |  1992-05-27  |  628 b   |  24 lines

  1. /*------------------------------------------------------------------*/
  2. /* ╡{ªí└╔ªW║┘: wat77.c                                              */
  3. /*------------------------------------------------------------------*/
  4. #include <stdlib.h>
  5. #include <stdio.h>
  6.  
  7.  
  8. void main()
  9. {
  10.     char *s1, *s2, *s3, *s4;
  11.  
  12.  
  13.     s1=getenv("COMSPEC");
  14.     s2=getenv("INCLUDE");
  15.     s3=getenv("LIB");
  16.     s4=getenv("PATH");
  17.  
  18.     printf("└⌠╣╥┼▄╝╞ COMSPEC ñº│]⌐w¼░ : %s\n",s1);
  19.     printf("└⌠╣╥┼▄╝╞ INCLUDE ñº│]⌐w¼░ : %s\n",s2);
  20.     printf("└⌠╣╥┼▄╝╞ LIB     ñº│]⌐w¼░ : %s\n",s3);
  21.     printf("└⌠╣╥┼▄╝╞ PATH    ñº│]⌐w¼░ : %s\n",s4);
  22.  
  23. }
  24.