Greenbow vpn in batch file.

Greenbow vpn in batch file.

Post by amerds » Fri, 14 Oct 2005 12:55:45


This may be really simple. I wrote the following:

@ECHO OFF
C:\Progra~1\SISTECH\TheGre~1\vpnconf.exe
ECHO vpn started
explorer.exe "\\Benzie\Zip Disc"


The batch file above is meant to open vpn hsing the greenbow vpn client
and open windows explorer to browse the disk mentioned. The client
openes properly. However, it hangs and never gets to the ECHO command

Any ideas?

A
 
 
 

Greenbow vpn in batch file.

Post by brio » Tue, 25 Oct 2005 20:42:50

Use the start command (see cmd -> help start).

Here's the modifed code :


Good luck