Click here to get back home

Stop and restart Active Sync 4.5 Beta 2 from a batch file

 HomeNewsGroups | Search | About
 microsoft.public.pocketpc.activesync    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Stop and restart Active Sync 4.5 Beta 2 from a batch file bloggsfred00 11-05-2006
Posted by bloggsfred00 on November 5, 2006, 6:52 pm
Please log in for more thread options
I have used 4.2 for quite a while. Apart from its general inability to
connect reliably it worked OK.

To backup Outlook files reliably I stop and restart WCESMgr.exe from
within a batch file using
"c:\program files\microsoft activesync\wcesmgr.exe" /quit
before the backup - and
"c:\program files\microsoft activesync\wcesmgr.exe"
after the backup. This has worked well with 4.2.

I have upgraded to 4.5B2 and the connecting is now much more reliable.

However, I now find with 4.5 that
"c:\program files\microsoft activesync\wcesmgr.exe" /quit
still works OK, but
"c:\program files\microsoft activesync\wcesmgr.exe"
hangs the batch file.

Strangely, entering
"c:\program files\microsoft activesync\wcesmgr.exe"
manually on a command line does not result in a hang, it only hangs
from within a batch file.

I am now using
start "c:\program files\microsoft activesync\wcesmgr.exe"
so that only the child command shell hangs and the main batch can get
on with it, but it is a quite untidy result.

Has anybody else noticed this behaviour, or am I doing something
obviously wrong.

Thanks,

Fred.


Similar ThreadsPosted
Active Sync and Visual Studio 2005 beta 2 September 21, 2005, 4:40 pm
Active Sync 4.2 Beta some times does not connect WM5 Pocket PC May 8, 2006, 3:24 am
active sync (4, 4,2, 4.5 beta) will not re-connect to device WM5 (SPV M5000) without reboot. December 8, 2006, 6:32 am
How to chose which pst file active sync uses??? July 26, 2005, 11:34 am
Active Sync File Directory May 14, 2008, 2:09 pm
Active Sync 5 and file/folder synch remotely November 29, 2005, 9:04 pm
Active Sync log file location on Mobile Device March 27, 2007, 5:54 pm
Outlook crashes on restart if AS4.1 is loaded February 28, 2006, 11:43 am
Need to restart handset everytime I unplug from USB connection?!? Error 0x80072EE2 June 5, 2006, 7:05 am
Stop Sync on GPRS? November 26, 2005, 11:35 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap