Arno,

Try prefixing your 'winvnc' commands with 'start', i.e.:

start winvnc

in your CMD file. See

start /?

for further information.

Best of luck.


From: "Mag. Arno Schoblocher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: newbie: start winvnc.exe in a cmd-file
Date: Thu, 14 Aug 2003 13:19:17 +0200

Hello!

When i start the VNC-Server in a batchfile with

winvnc

then VNC is started, however, the dos-window just hangs and the batchfile
does not go on with the rest of the commands. the same command works
perfectly when i enter it directly into a dos-box.


i have win2000 SP3.

Thank you

arno

PS:
my complete batchfile would look like this (pls. note that a batchfile with
only "winvnc" as command does not work, too!):
@echo off
set /P myHost="Enter IP: "
winvnc -kill -run
winvnc -connect %myHost%
pause
winvnc -kill
set myhost=
_______________________________________________
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