Search found 2 matches

by creyes3
02 Jun 2015 04:59
Forum: DOS Batch Forum
Topic: Batch for Mac And Computer name to a file
Replies: 4
Views: 2680

Re: Batch for Mac And Computer name to a file

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
by creyes3
28 May 2015 10:27
Forum: DOS Batch Forum
Topic: Batch for Mac And Computer name to a file
Replies: 4
Views: 2680

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