>It`s not a problem in VFP to create a .txt file with names of files located in a directory. How can I do it without VFP?
>In DOS-mode command DIR saves to file shorten files name.
DIR /B >somefile.txt
I strongly recommend that you save the file in a directory other than the one you're checking. This will be the full (long) filename; to get the DOS 8.3 compatible name using the current registry setting for short name generation, under NT you can use
DIR /B /X >somefile.txt