Antony Joseph wrote:
> hi,
>
>  1. mapi.MAPIInitialize(None)  changed the working directory to 
> "C:\Program Files\Common Files\SYSTEM\MSMAPI\1033".
> is there anyway to initialize the MAPI which should not change the 
> current  working directory.

where = os.getcwd()
mapi.MAPIInitialize(None)
os.chdir(where)

-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to