How to run an interactive batch file on windows from a service?

Can you, using the hosts file on a windows machine, make it so that when an IP address is accessed, a batch file is run?

  • Answer:

    I am not finding a way to use a host file on a Windows PC to make it so that when an IP address is accessed, a batch file is run. You can access a batch file on a remote computer and run it, but I'm not finding any instructions to have it run automatically when the IP address is accessed.

Audrey R. at ChaCha Visit the source

Was this solution helpful to you?

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.