This code(Files) does return the whole directorypath like this:
C:\Documents and Settings\User\Desktop\Text.txt
What should be changed if you only want to return the fileName wich is: "Text"
System::string ^ Files10 = "c:\\";
array<System::string ^> ^ Files = System::IO:: Directory::GetFiles(Files10,"*.txt");