EXE and it will not work on 64Bit version of Windows 8.1 and Windows 10. , we can use the built-in Notepad program for this purpose.On Windows Operating Systems, the hosts file is located here , C – is the drive Windows OS had been installed.
Make sure you have administrative access/privilege on the computer before attempting to modify it.
Important Note : Some of the Antivirus software including Microsoft Security Essential (Windows Defender) will not allow modifying hosts file as a security precaution.
Each file system in this table is referred to as an exported file system, or export, for short.
The exportfs command maintains the current table of exports for the NFS server.
Once you have replaced the file, the new edited hosts file will be active on your Windows 10 or Windows 8.1 computer.
You can find the similar method but with more explanation at this site.
Normally the master export table is initialized with the contents of /etc/exports and files under /etc/exports.d by invoking exportfs -a.
However, a system administrator can choose to add or delete exports without modifying /etc/exports or files under /etc/exports.d by using the exportfs command. -r Reexport all directories, synchronizing /var/lib/nfs/etab with /etc/exports and files under /etc/exports.d.
If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.
Here in Gentoo land, the concept of upgrading is quite different compared to the rest of the Linux world.
Hope this guide will be helpful in editing the hosts file on the latest Windows 10 or earlier Windows 8.1 and 8 versions.