Sure.
That functionality is built into both of NT's command line
interpreters (CLIs); CMD.EXE (NT's native CLI) and COMMAND.COM (NT's
"DOS" CLI). The syntax is likely the same, and I'd use CMD.EXE as
it's more likely to display Long File Names properly.
Start CMD.EXE and use this syntax:
DIR C:\Path\To\Your\Music /S > C:\MUSIC.TXT
Then open C:\MUSIC.TXT to read the list it creates.
You can also type this command...
DIR /?
....to see what syntax you need to use to get exactly what you want -
there's fair control over sorting, what info to show, etc.
Which isn't relevant to what he wants to do; all he's looking for is
internal command line interpreter functionality.
MS would be smart to include at least the few external MS-DOS
command that might be useful, such as FDISK, FORMAT, EDIT,
ATTRIB, XCOPY and DEBUG.
DOS is past its sell-by date, as it doesn't support deep directory
paths, the NTFS file system, certain hardware scalability limits, USB
devices, etc. The only reason we still seek to use DOS is that NT has
yet to provide a decent replacement maintenance OS - in fact, the disk
management tools built into NT (XP is NT 5.1) are pretty dire.
http://cquirke.mvps.org/whatmos.htm refers.