Copy and save the following code, save as a bat file to execute.
@echo off echo GET MAC ADDRESS echo PLEASE WAIT... getmac /v > 本机mac.txt echo GET MAC ADDRESS SUCCESS pause exit