-
How to find your mac address / How to get your mac address into a variable using a batch file or the command line in Windows XP
In a batch file : for /f “tokens=3 delims=,” %%a in (‘”getmac /v /fo csv | findstr Local”‘) do set mac=%%a Value of mac address is now accessible in %mac% From the normal command line: for /f “tokens=3 delims=,” %a in (‘”getmac /v /fo csv | findstr Local”‘) do set mac=%a Value of mac address…