Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for macwin9x.bat

(view source code of macwin9x.bat as plain text)

  1. @ECHO OFF
  2. NBTSTAT -a * | FIND /I "MAC Address" > TEMP.BAT
  3. IF ERRORLEVEL 1 GOTO End
  4. > MAC.BAT ECHO SET MacAddress=%%2
  5. CALL TEMP.BAT
  6. ECHO MacAddress=%MacAddress%
  7. :End
  8. IF EXIST TEMP.BAT DEL TEMP.BAT
  9. IF EXIST MAC.BAT  DEL MAC.BAT
  10.  

page last uploaded: 2016-12-15, 11:20