How can we retrieve a MAC address of a ethernet card through the batch file & can store it in a document type document automatically? Anybody knows this kind of DOS command or program in any other language? that can help in this job? Storing MAC address in document type format is must.
Open Command Prompt and type getMAC. This will give you the MAC address (shown as Physical Address). You can also use ipconfig /all. You can pipe this output to a textfile as shown below -
Open Command Prompt and type getMAC. This will give you the MAC address (shown as Physical Address). You can also use ipconfig /all. You can pipe this output to a textfile as shown below -
u can do this also by typing "route print" command in the command prompt.... there along with MAC address u'll get a full view for routing table for ur NIC card....