home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2002 #8 / K-CD-8-2002.ISO / WatzNew / data.cab / IPCONFIG.pl < prev    next >
Encoding:
Text File  |  2000-06-18  |  532 b   |  16 lines

  1. #%DESCRIPTION%|=|Shows your IP configuration using shell's "ipconfig" command
  2. #%TITLE%|=|IPCONFIG
  3. #%MESSAGE%|=|%1
  4.  
  5. # ------------------------------------------------------------------------------
  6. # IPCONFIG script by A.I.Studio / Igor Afanasyev
  7. # ------------------------------------------------------------------------------
  8.  
  9. require 'strings.lib'; # string routines
  10.  
  11. # ------------------------------------------------------------------------------
  12.  
  13. $s = `ipconfig`;
  14. $s = &ProcessDosResponse($s);
  15. print "MSG: $s\n";
  16.