Hosts and LMhosts file

(imported topic written by jpeppers91)

Is there a way to return the values of a host or lmhosts file.

(imported comment written by jessewk)

something like this?

http://forum.bigfix.com/viewtopic.php?id=748

Or do you just want to return the values? For example: lines whose (it does not start with “#”) of file (pathname of system folder & “\drivers\etc\hosts”)

Or am I completely missing the question?

(imported comment written by jpeppers91)

return the values like you described.

Thanks, that was exactly what I needed.

jp