Advertisement
lincruste

retrieve MAC address, write in text file

Mar 19th, 2020
1,909
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. for /F %%i in ('wmic nic get MACAddress ^|find ":"') do @echo %%i>.\infofile.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement