我要连接公司的数据库需要先连好VPN。
win7下,click下面这个CMD文件,运行后VPN就连上了。请问各位大侠,怎样才能在
win7下scheduler 下面这个cmd file。谢谢了。
REM Disconnects and reconnects Cisco VPN client
REM usage = VPNreconnect.cmd
REM location of vpnclient
set INSTALL_PATH=C:\Program Files\Cisco Systems\VPN Client
echo on
REM command line
"%INSTALL_PATH%\vpnclient" disconnect
REM name of profile used to connect
set VPNPROFILE="xxxxx.xxxxx.xxxx.Facing"
REM command line
::"%INSTALL_PATH%\vpnclient" connect %VPNPROFILE%
"%INSTALL_PATH%\vpnclient" connect %VPNPROFILE% user uuuuu pwd pppppp stdin
< y.txt