I want to be able to apply a "patch" to a users computer to change their hosts file so that they can put in a keyword to access my server on our local intranet.

Is this possible with Javascript?

Also, could I tell which version of windows is being used and possibly the Windows directory?