Мне нужно перечислить имена файлов и сохранить их в виде текстового файла!
Что я сделал, я использовал следующую команду dos
x:\xyz> dir *.* > files.txt
что это значит, он хранит имена файлов, присутствующих в каталоге xyz, а также размер, время и дату файлов!
Как получить только имена файлов?