is there a way of getting the users MAC Address in MMF?
it is displayed in the old DOS cmd:
ipconfig/all
it is under 'physical address'.
can anyone help me retrieve this?
Thanks a lot!
-Mel
Printable View
is there a way of getting the users MAC Address in MMF?
it is displayed in the old DOS cmd:
ipconfig/all
it is under 'physical address'.
can anyone help me retrieve this?
Thanks a lot!
-Mel
I dont know if this would work, but its an idea ;)
Well you could pipe ipconfig /all into a text file, and then search the text file for the MAC address?
Jason
Hi Jason..
I've never used the pipe object before... How would I do that?
-Mel
He meant telling mmf to exectute "ipconfig /all >c:\ip.txt" and then loading ip.txt into a list, matching the "address" line and reading the ip.
Though using the pipe object would stop it from having to write to a txt file.
Yeah sorry should have been more clear especially as there is an object called pipe :D
Yes i meant run the command pipe (its a dos command)
hmm.. just tried it. It doesnt seem to like it much. I can notice a lot of info on the DOS Screen for a split second before it quits.
No ip.txt file is created. If I hand type it into the DOS prompt, then it does work.. Can you guys get it to work coz I might be doing something really stupid... lol
-Mel
Or.. is there any other way of getting it? Possibly through an ActiveX?
-Mel
Ah the command has changed since the old NT 4 days ;)
Try
ipconfig /all > filename.txt
Jason
Hi Jason..
Dynasoft was right.. You need to add the C:\ part in the beginning of the filename otherwise it doesn't even save manually.
ipconfig /all > c:\filename.txt will work if I type it in, but not in MMF..
Can you guys get it to work through MMF? I can't seem to. There surely must be an ActiveX or something to do this.. It seems like such an everyday thing ... lol
Thanks a lot (so far anyway!) guys.. ;)
-Mel
I really should read other peoples posts before posting...lol
Why dont you create a file.bat file, then use the run executable program command?
Then you will create the file and then be able to hopefully load it in.. its messy but it might just work.
I think getting the Mac address through MMF would be pretty cool though. I wonder if there is an option already in one of the objects somewhere...lol