ultimatepp/uppdev/SymLinkTest/SymLinkTest.cpp
cxl 2e4b276e07 Merge continued
git-svn-id: svn://ultimatepp.org/upp/trunk@10263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-10-04 08:34:39 +00:00

17 lines
334 B
C++

#include <Core/Core.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
String path = "C:/Documents and Settings/cxl/Plocha";
FindFile ff(AppendFileName(path, "*.*"));
while(ff) {
if(ff.IsSymLink()) {
String fp = AppendFileName(path, ff.GetName());
LOG(fp << " -> " << GetSymLinkPath(fp));
}
ff.Next();
}
}