Home / Microsoft / Microsoft DOS / Appending Transport Name and Mac Address to txt file
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: Appending Transport Name and Mac Address to txt file  (Read 1013 times)
Ethan6341
Topic Starter
Newbie



Posts: 1


« 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.
IP logged
gh0std0g74
Apprentice



Thanked: 37
Posts: 590


« Reply #1 on: November 22, 2009, 04:48:30 PM »

hint: getmac
IP logged

Pages: [1] - (Top) Print 
Home / Microsoft / Microsoft DOS / Appending Transport Name and Mac Address to txt file « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.063 seconds with 21 queries.