... Exception.Create('Error'); end; MSWord.Documents.Add(EmptyParam, EmptyParam, EmptyParam, EmptyParam); infomemo.Lines.Add('Word запущен!'); if FindFirst(dirPath+'/' + '*.*', faArchive, SR) = 0 then begin repeat DirList.Add(StringReplace(dirPath+'\'+ SR.Name, '/', '\',[rfReplaceAll, rfIgnoreCase])); ...