Directory() and tilde

Directory() and tilde

Postby Natter » Thu Nov 09, 2023 8:01 am

The function Directory("C:\myfolder \*.*", "D") does not find files whose name begins with a tilde ~ (temporary files from the office. ~$.11.2022Test.docx). Why ?
Natter
 
Posts: 1221
Joined: Mon May 14, 2007 9:49 am

Re: Directory() and tilde

Postby Antonio Linares » Thu Nov 09, 2023 8:28 am

Dear Yuri,

Use Directory( "C:\myfolder \*.*", "DH" ) as ~ stands for hidden
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Directory() and tilde

Postby Natter » Thu Nov 09, 2023 9:12 am

Thank you very much!!
Natter
 
Posts: 1221
Joined: Mon May 14, 2007 9:49 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 62 guests