Is there a script a synchronization as if you are offline, the offline files
icon is located in the Start menu bar and you right click on the icon and
select Synchronize? I found a script that will launch mobsync.exe but there
has to be a shorter way of doing the same thing. Any help would be
appreciated.


SDA

Re: Synchronization Scripting by Shannon

Shannon
Thu Jun 17 13:26:43 CDT 2004

Followup: This is the script that I found:


Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "C:\WINDOWS\system32\Mobsync.exe"
WScript.Sleep 400
WshShell.AppActivate "Items to Synchronize"
WScript.Sleep 400
WshShell.SendKeys "{ENTER}"
REM WScript.Sleep 800
REM WshShell.SendKeys "%S"
Set WSHShell = Nothing

"Shannon Atkinson" <Rainmnanjam@hotmail.com> wrote in message
news:%23GAVJUJVEHA.2544@TK2MSFTNGP10.phx.gbl...
> Is there a script a synchronization as if you are offline, the offline
files
> icon is located in the Start menu bar and you right click on the icon and
> select Synchronize? I found a script that will launch mobsync.exe but
there
> has to be a shorter way of doing the same thing. Any help would be
> appreciated.
>
>
> SDA
>
>



Re: Synchronization Scripting by Torgeir

Torgeir
Thu Jun 17 13:36:18 CDT 2004

Shannon Atkinson wrote:

> Is there a script a synchronization as if you are offline, the offline files
> icon is located in the Start menu bar and you right click on the icon and
> select Synchronize? I found a script that will launch mobsync.exe but there
> has to be a shorter way of doing the same thing. Any help would be
> appreciated.
Hi

mobsync.exe supports the /logon and /logoff switch.


With VBScript, "Shell.Application"'s Synchronize method may work
http://groups.google.com/groups?selm=4c127507.0406090127.14bba651%40posting.google.com


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/community/scriptcenter/default.mspx