Jump to content

How to get file list in the network folder with full path.


hwlee

Recommended Posts

Dear All,

I'd like to display the file list in the network folder with the full path to Listbox. Is it possible to get the file list in the network folder?

Please help me. 

Thank you in advance. 

 

 

HW Lee.

Link to comment
Share on other sites

  • hwlee changed the title to How to get file list in the network folder with full path.

Than you for your reply.

I realized that UniGui can use delphi method. 

 

Uses IOUtils;

 var
    path : string;
begin
    for Path in TDirectory.GetFiles('\\TEMP\20210709085527')  do
        UniListBox1.Items.Add(ExtractFileName( Path ));
end;

 

Regards,

HW Lee.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...