Re: [python-win32] working Directory get	changed-mapi.MAPIInitialize(None) 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, eqem@probo.com
Providenza & Boekelheide, Inc.

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


