How to get the name of a file inside a folder in Borland C++

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zamani1977
    New Member
    • Mar 2008
    • 1

    How to get the name of a file inside a folder in Borland C++

    Hello there,
    I'm stucked for quite sometimes while using the borland C++ builder language. I'm planning to use the timer to check a folder which contains one or more file. The thing is i need to get the name of the file inside the folder and convert it to AnsiString for later processing. I don't know how to do this. I had tried GetName(), GetFileNames() but until now not successful.

    I would appreciate if any of the expert could help me to give guidance.

    Thanks
    Zamani
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    What OS are you using?

    Comment

    Working...