The command below–executed at a Windows command prompt–will list all directories, subdirectories and files on a drive, and then write that to a text file.
dir /s G: > G:\files.txt
Just another nerd.
The command below–executed at a Windows command prompt–will list all directories, subdirectories and files on a drive, and then write that to a text file.
dir /s G: > G:\files.txt