FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Directory() and tilde
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Directory() and tilde
Posted: Thu Nov 09, 2023 08: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 ?
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Directory() and tilde
Posted: Thu Nov 09, 2023 08:28 AM

Dear Yuri,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: Directory() and tilde
Posted: Thu Nov 09, 2023 09:12 AM

Thank you very much!!

Continue the discussion