Q&A

  • *.txt 파일을 찾고자할 때,
파일을 찾고자하는데 현재 파일 이름은 알 수 없지만 txt파일을 찾는다면.. 어케해야하는지.. 알고싶네요.. 혹시 아시는 분은..

아래는 temp값을 줘야만 하는데.. 다른 방법도 있나여?

또 한가지.. 파일이 여러개일때는 어떤식으로 값을 받는지도 알고싶습니다..





if FileExists(ExtractFilePath(ParamStr(0))+temp+'.txt') then begin

ShowMessage('File Exist');

Current_filename:= ExtractFilePath(ParamStr(0))+temp+'.txt';



end else begin

ShowMessage('File not found!.');

end;

1  COMMENTS