I could proubly solve this myself if my stupid school computers running NT could do anything right and not crash when I open the VB help, but alas we live in an imperfect world.

Anyway, here is my question:

I wanna make a text file that lists all the subdirectories and files from the root of C. Using shell it would be simple: "dir /s > files.txt". But I want to do this without using Shell. It doesn't have to be with API either if it can be done with regular VB functions.

The only reason I don't want to use Shell is because I'm unsure if it will work on WinME. I've been told they got rid of DOS for some stupid reason.

Thanks