Hi, I have a file: d:\foo.txt and want to delete this. I tried: system("del d:/foo.txt") works not system("notepad d:/foo.txt") works Is it possible that I can't delete files or do I have misunderstood something? (del is a DOS-command. The "string works" under DOS "\") Thanks a lot Thomas ----- Windows XP R 1.6.2 (update!, I know)