1.

Solve : Appending Transport Name and Mac Address to txt file?

Answer»

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.hint: getmac



Discussion

No Comment Found