[wpkg-users] Deploying office 2010

Daniel Dehennin daniel.dehennin at ac-caen.fr
Tue Nov 23 15:59:27 CET 2010


DANY CHOUINARD <CHOUINARD.DANY at csob.qc.ca> writes:

> Last friday I was able to decipher the XML to control the office2010

[...]

> ---WAIT.BAT----
> :UN
> ping.exe -n 6 -w 1000 127.0.0.1 >NUL
> tasklist /FI "IMAGENAME eq OSE.exe" 2>NUL | find /I /N "OSE.exe">NUL
> if "%ERRORLEVEL%"=="0" goto UN
> ---------------

For the waiting loops I'm doing:

=====
REM Wait enought (100 * 6s max) for schmurtz to finish
REM avoid endless loop
FOR /L %%G IN (0,1,100) DO (
    tasklist | find /I "schmurtz" > NUL || goto endfor
    ping -n 6 -w 1000 127.0.0.1 > NUL
)
:endfor
=====

Regards.
-- 
Daniel Dehennin
RAIP de l'Orne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20101123/e0fe7dba/attachment-0001.sig>


More information about the wpkg-users mailing list