You might find a need to establish a dial-up connection before running a synchronization. The most common time this is necessary is when a path in your Job is a dial-up VPN. You can automate the connection and disconnection of the dial-up connection in SureSync 7 using rasdial on the Scripts tab of a Schedule.
Establishing the Connection
On the Scripts tab of a Schedule under "Script for Start of Each Schedule" enter
C:\Windows\System32\rasdial.exe "vpn connection"
You can also create a batch file that does the following actions
cd C:\Windows\System32
rasdial "vpn connection"
Make sure to have the "Wait for script to finish" option selected. This will establish the dial-up connection before running the Schedule.
Disconnecting the Connection
On the Scripts tab of a Schedule under "Script for End of Each Schedule" enter
C:\Windows\System32\rasdial.exe "vpn connection" /disconnect
You can also create a batch file that does the following actions
cd C:\Windows\System32
rasdial "vpn connection" /disconnect
For the "Run ending script" option select "Always, even if any errors" to ensure the connection is always closed down at the end of the Schedule.
Full details about rasdial can be found in the Microsoft Technet article found here: http://technet.microsoft.com/en-us/library/bb490979.aspx