Is there a v4.0b3 win32 command line 'kill' switch?
Steve Palocz
spalocz@tgtsolutions.com
Thu Sep 4 14:40:00 2003
If it is installed as a service, try
Net stop winvnc4
Net start winvnc4
The commands you are looking for have been replaced with -start and -stop
Winvnc -stop
Winvnc -start
Winvnc -help shows
C:\Program Files\RealVNC\VNC4>winvnc4 -help
VNC Server 4.0 - VNC Server for Win32, Version 4.0b3
Built on Jul 28 2003 at 16:05:36
Copyright b RealVNC Ltd. 2002-2003
Command-line options:
-register <options...> - Register WinVNC server as a system service.
-unregister - Remove WinVNC server from the list of system services.
-start - Start the WinVNC server system service.
-stop - Stop the WinVNC server system service.
-status - Query the WinVNC service status.
-help - Provide usage information.
-noconsole - Run without a console (i.e. no stderr/stdout)
Steve
-----Original Message-----
From: vnc-list-admin@realvnc.com [mailto:vnc-list-admin@realvnc.com] On Behalf Of David West
Sent: Thursday, September 04, 2003 5:11 AM
To: vnc-list@realvnc.com
Subject: Is there a v4.0b3 win32 command line 'kill' switch?
There only appear to be config options per the registry settings when I
run winvnc4.exe -help - and the list is maybe longer than my 50 line DOS
box can display...
I'm trying to start vnc from a batch file, but I only want one instance
running at a given moment. It would seem logical to run something like:
: to stop any running instances...
winvnc4 -kill
: to restart vnc...
winvnc4 -noconsole
or, from the last version's documentation:
WinVNC_new -kill -run
But the -kill switch doesn't seem to exist in this version. Is there an
undocumented equivalent, or another way to achieve this?
(I've tried -stop to kill a server in user mode but this complains about
not finding a running service).
Thanks for giving this your attention,
d#vidwest,net
djw#spyderworks,co,uk
_______________________________________________
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list