Marc Vollmer <marc.vollmer at mahr.de> wrote in message news:97ggqk$p53ii$1 at ID-59219.news.dfncis.de... > No chance: > > I try: > > win32ui.SetProfileFileName('c:\winnt\test.ini') If you _really_ wrote it this way it will not work. The backslashes are used to escape the values. Use 'c:\\winnt\\test.ini' or r'c:\winnt\test.ini' hth werner