Procedure and batch file replaces hosts.
This will backup an existing hosts file and replace with yours. Makes life easier adding multiple entries to a hosts file.
Replace hosts file has no reviews.
Getting error: "Failed THEN in step 3 (Line 5)"
Are you running the script as an admin?
I have recreated the error.
Please make sure there is a VSASharedFiles folder "Hosts" and insert your new hosts file and and the "hostsreplace.bat" reside in there. Remeber after editing the new hosts file that it isn't saved with the ".txt" extension.