MAC address parsing from Win7 system by batch script (language and
I am try to read MAC addressess and physsical adapters belong to. I am try few ways: read from registry - there is no MAC stored in registry parsing from "ipconfig /all" command - language dependent output netsh - there is not MAC visible wmic - I hear wmic is not present on home version, bud this is not confirmed yet getmac - Depend on media state, if diconnected then does not display "transport name" any other idea, how to read MAC by pure batch script, language and Win7 subversion independent? L.
December 1st, 2010 10:00am

In Batch Script (Windows Command Prompt), try arp -aRyan Kim
Free Windows Admin Tool Kit Click here and download it now
December 1st, 2010 10:20am

I know this, but there is not ma machine interfaces MACs, there is only cached MACs of LAN machines contacted by my host. L. On 1.12.2010 16:14, BlueW_Ryan wrote: > In Batch Script (Windows Command Prompt), try > > *arp -a* > > ------------------------------------------------------------------------ > Ryan Kim
December 1st, 2010 10:41am

Hi, What do you mean by “parsing from "ipconfig /all" command - language dependent output”? Could you tell us the details about what you want to achieve? Could you explain what the meaning of “language and Win7 subversion independent” is? I would like to know what the result is when you type the commands above. Please provide the screenshots for us: How to capture a screenshot ========================= 1) Press the Print Screen key (PrtScn) on your keyboard. 2) Click the "Start" menu, type "mspaint" in the Search Bar and Press Enter. 3) In the Paint program, click the "Edit" menu, click "Paste", click the "File" menu, and click "Save". 4) The "Save As" dialogue box will appear. Type a file name in the "File name:" box, for example: "screenshot". 5) Make sure "JPEG (*.JPG;*.JPEG;*.JPE;*.JFIF)" is selected in the "Save as type" box, click “Desktop” on the left pane and then click "Save". 6) Then Upload to SkyDrive. Hope it helps. Alex ZhaoPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
December 6th, 2010 12:52am

> What do you mean by parsing from "ipconfig /all" command - language > dependent output? I need to extract two values: Adapter name (e.g. Wireless network connection) and MAC address belong into physsical adapter belong to Wireless Network Connection. There are more network adapters in laptops manufactured in those days (LAN, WLAN, BT, Problem is, if there is other than EN Windows, than I cannot parse for word "Wireless" in the connection name. E.g. in my language is word "Bezdratovy" translation of english word "Wireless". > Could you tell us the details about what you want to achieve? I participate on community IP wireless network. We ahve abou 30 access poits in the town. I someone new cotact us, tell us I see your ESSID and I want to made test connection, we need MAC address of his Wireless adapter to allow him on Access Point (MAC address list protection). We are trying to call those people and navigate him by phone where hi can find MAC address, but it consume lot of time, people power and some money to celular provider. The idea is to write batch which display wireless MAC address of current machine. > Could you explain what the meaning of language and Win7 subversion > independent is? This should run on all Windows starting XP and its subversion (Home, Standard, Professional, Ultimate, etc. Also should does not need Admin rights. > I would like to know what the result is when you type the commands > above. Please provide the screenshots for us: I do not think so, you still need the screenshoot. If yes, write me the reason. with best P.L.
December 6th, 2010 7:58am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics