igor,
dir "c:\My Documents" > files.txt
dir in WinNT/2K/XP/2K3 is sorted by name, and I don’t think there is a way to force it to produce unsorted output.
Vlk