Hello there,

I want to add an entry to the lmhosts file

Ex : 123.321.123.321 arg1 #PRE


I need a simple code that do that and something that does the nbtstat -R Job because i need to purge it.

If i use in cmd nbtstat -R it says something like : Failed to Purge the NBT Remote Cache Table.

If you are doing this in Windows 7 or Vista, did you start the command prompt as administrator?

Uh :D i have only on in the system32/drivers/etc thanks for that answer :d