Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Appending Transport Name and Mac Address to txt file  (Read 8383 times)

0 Members and 1 Guest are viewing this topic.

Ethan6341

  • Guest
Appending Transport Name and Mac Address to txt file
« on: November 22, 2009, 03:52:23 PM »
Im currently working on a simple batch file for my computer class, and am stuck on one part. the  instructions are as follows:

"ping google.com and display results in ping.txt into the itsc1325 folder

display the windows ip configuration information into a file called ip.txt in the itsc1325 folder

append the mac address and transport name to ip.txt


pause the batch file

display contents of the itsc1325 folder

pause the batch file"


the ping command and listing the ipconfig are easy, but i don't quite understand what is meant by transport name. what command could i use to display the transport name and mac address only, or possibly commands to list both individually?


Im not looking for someone to do my homework for me. This is only a small part of the assignment and I've finished all but this part.

Any help is appreciated.

gh0std0g74



    Apprentice

    Thanked: 37
    Re: Appending Transport Name and Mac Address to txt file
    « Reply #1 on: November 22, 2009, 04:48:30 PM »
    hint: getmac