K karboy Unregistered / Unconfirmed GUEST, unregistred user! 2001-07-30 #2 试试用这个API函数: ExtractFileDir(Application.Exename);