dim sh
set sh = createobject("wscript.shell")
sh.run "C:\Progra~1\RealVNC\WinVNC\winvnc.exe", 0, falseDr.X > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Chad LaFarge > Sent: Wednesday, February 19, 2003 5:14 PM > To: Steve Bostedor; Everybody > Subject: Re: Batch Files > > > I meant a sample of using VBScript to launch it. > > Thank you, though. > > Chad > > > start winvnc -run > > > > - Steve Bostedor > > Network Administrator > > Thomson Shore, Inc. > > > > > > > > -----Original Message----- > > From: Chad LaFarge [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, February 19, 2003 4:19 PM > > To: Everybody > > Subject: Re: Batch Files > > > > > > I like that idea... how would you do that, Paul? > > > > Could you provide a very short sample script? > > > > Thank you. > > > > ----- Original Message ----- > > From: "Paul V." <[EMAIL PROTECTED]> > > To: "Everybody" <[EMAIL PROTECTED]> > > Sent: Wednesday, February 19, 2003 2:43 PM > > Subject: Re: Batch Files > > > > > > > When you execute the 'winvnc -run' the batch file sits and > waits for the > > > program to stop before it will continue on. Since vnc runs > indefinitly, > > then > > > the batch file waits indefintily for it to return, its not > froze, its just > > > the way batch files work. > > > > > > Wscript will allow for you to run a program keep the script running. > > Easiest > > > way is to write it in vbscript. > > > > > > Hope that helps > > > > > > Paul > > > ----- Original Message ----- > > > From: "Alex Speaks" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Wednesday, February 19, 2003 2:07 PM > > > Subject: Batch Files > > > > > > > > > > Heres an interesting problem. I'm writing a script to > change the VNC > > > > passwords on our windows 2000 workstations every week for security. > > > > Unfortunatly for some reason the scripts were freezing before > > > > termination every time they ran. I did some rooting around > in the code > > > > and discovered that the command >winvnc -run works just fine if you > > > > type it at a command prompt however if you automate it in > any way the > > > > process is loaded and winVNC functions just fine, but the batch file > > > > halts. any ideas? so far I have tried batch files and .cmd files > > > > containing : > > > > > > > > >call winvnc -run > > > > >winvnc -run > > > > >cmd /c "winvnc -run" > > > > >cmd /c winvnc -run > > > > >command /c winvnc -run > > > > > > > > I've also tried it on several machines. this seems to be > the problem on > > > > all of them. > > > > > > > > -AA > > > > > > > > ======================================= > > > > Alexander N. Speaks > > > > System administrator - North West Human Services > > > > Internal extention : 725 > > > > E-mail: [EMAIL PROTECTED] > > > > ======================================= > > > > _______________________________________________ > > > > VNC-List mailing list > > > > [EMAIL PROTECTED] > > > > http://www.realvnc.com/mailman/listinfo/vnc-list > > > _______________________________________________ > > > VNC-List mailing list > > > [EMAIL PROTECTED] > > > http://www.realvnc.com/mailman/listinfo/vnc-list > > _______________________________________________ > > VNC-List mailing list > > [EMAIL PROTECTED] > > http://www.realvnc.com/mailman/listinfo/vnc-list > > _______________________________________________ > > VNC-List mailing list > > [EMAIL PROTECTED] > > http://www.realvnc.com/mailman/listinfo/vnc-list > _______________________________________________ > VNC-List mailing list > [EMAIL PROTECTED] > http://www.realvnc.com/mailman/listinfo/vnc-list _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] http://www.realvnc.com/mailman/listinfo/vnc-list
