I'm trying to do what is described at the below link. In short, have a port at our firewall forwarded to a linux box inside our private network and have this machine running a script on a specific port that will allow users to use VNC to remotely control their PCs from anywhere on the internet.
I've got everything working perfectly (even though the code has changed significantly since 1998), but have run into a snag. (More-so even than the fiddling with C code and recompiling for the past 3 days that it took for me to get it working properly.) The people who will be controlling the machine remotely won't be using linux, so I have to modify the windoze source for the VNC viewer, plus get the rvnc script running on windoze too.

I envisioned simply translating the script into a batch file and applying the same changes I made on the linux version to the windoze source, recompile, and be done with it. Bad assumtion on my part.
The rvnc script that I've translated into a batch file uses a read command, which DOS doesn't have. It also redirects standard I/O to accomplish the task, which DOS can't do. I have NetCat on my windoze box and can recompile TightVNC, but the VNC code is *way* different than the linux version- the files aren't even similarly named.
I'd be happy to provide any information needed for assistance. My boss would very much like to use this early this coming week, so a quick reply is appreciated, but I will be thankful for any replies that help.
The post on the topic is located at
http://www.realvnc.com/pipermail/vnc...ne/001768.html