Related Items  

Linux and Windows IT Support  

dedicated-technology-experts

Windows, Apple and Linux IT support and services.

For Software and Web Development.

modify IP instead of a hostname

PrintE-mail
@BalReddy I'm not sure what do you mean by modifying the IP instead of a hostname. If you are doing a search by hostname, just replace it in the script (eg: replace 10.10.10.105 with whatever your hostname is) This particular script is adding a new host to the list, if it doesn't exist. I'll add another script (later) that will replace a string.
This is a comment on "Update hosts file with VBS (Windows)"
   
Copyright © 1999 - 2025 Virtual Helpme | Techical Support and Maintenance | Original Template: Allrounder