#include using namespace Upp; CONSOLE_APP_MAIN { #ifdef PLATFORM_WIN32 FindFile ff("u:/client/*.*"); #else FindFile ff(AppendFileName(GetHomeDirectory(), "*.*")); #endif while(ff) { LOG(ff.GetName()); LOG(ff.GetPath()); ff.Next(); } LOG("================================================================"); ff.Search("./*.*"); while(ff) { LOG(ff.GetName()); LOG(ff.GetPath()); ff.Next(); } LOG("================================================================"); ff.Search("/home/centrum/test"); while(ff) { LOG(ff.GetName()); LOG(ff.GetPath()); ff.Next(); } }