I am not a huge batch file guru, although I have written quite a few. 
Windows unfortunatley itself dosen't provide very good command line
tools and one such way in which it lacks is process control.
If you ONLY intend it to run on windows XP you can use
"taskkill /IM winvnc4.exe"

if you need support for other OSes and you are able to add a file; you
may want to add this freeware utility to the same directory and then
you can perform
"process -k winvnc4.exe"

the process tool -
http://www.beyondlogic.org/solutions/processutil/processutil.htm

alternatively, this site also lists some other tools that can help you
acomplish the same thing:
http://www.robvanderwoude.com/index.html

VNC Team: could a process kill feature be added as a command line
option?  I know it's not very important on the *nix but on windows it
would be helpful.

--Angelo

On Tue, 7 Dec 2004 06:18:53 +0100, Vince <[EMAIL PROTECTED]> wrote:
> Something like that, but that works on service mode only !
> 
> If the exe is started in user-mode, i can't close it from command-line...
> With -noconsole the dos box is closed,
> without it stays open on various commands...
> 
> 
> 
> 
> -----Original Message-----
> From: Angelo Sarto [mailto:[EMAIL PROTECTED]
> Subject: Re: use command line for v4
> 
> in version 4, do you mean this?
> winvnc4.exe -stop -noconsole
> 
> --Angelo
> 
> PS.  I noticed that (on XP) there is still a black command prompt that opens
> up when I run this.....shouldn't it do it with out that?
> 
> -----Original Message-----
> Is it possible to start and stop the vnc service from command line
> without the console windows?
> Could not fine something like 'winvnc -kill' .....
> 
> ViNCe
> SimBox.NL
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to