HOWTO - Squid on windows as a daemon.
Squid can run in daemon mode one of two ways. If you launch it from bash it forks of another process, but it won't survive the destruction of the bash window. You can also run it as a service via a service tool for NT.
If you are running on windows 9x you do not have much choice. Just make a batch file to launch squid via bash, and place that in your startup group. If you have Cygwin 1.1.3 or later you can just use a normal shortcut to launch squid. Simply set the window type to be minimised on boot.
If you are running on windows NT, you can use a tool such as SRVANY from the Microsoft resource kit to launch squid as a service. I suggest you use -N if you launch it that way, otherwise SRVANY will think that squid has finished when the daemon starts up.