i want the text file to have
computername macaddress
but i will prefer if possible to be write to excel file but if not to a text file will ok for now
Thanks once more
Search found 2 matches
- 02 Jun 2015 04:59
- Forum: DOS Batch Forum
- Topic: Batch for Mac And Computer name to a file
- Replies: 4
- Views: 5986
- 28 May 2015 10:27
- Forum: DOS Batch Forum
- Topic: Batch for Mac And Computer name to a file
- Replies: 4
- Views: 5986
Batch for Mac And Computer name to a file
Very novice on this but how i can combine this 2 lines so writes to a file beside each other FINDSTR "^%computername%$" < C:\scripts\macadd\log.txt >NUL || ECHO %computername%>>C:\scripts\macadd\log.txt wmic nicconfig where "ipenabled='true'" get macaddress thanks in advance