Hello I need a batch file to recursively List every file on the computer from directories above, I have found web pages explaining how to recursively list files down folders, as well as copying files up one folder. But never recursively listing files up folders. Is this possible? It seems like it could be? Let me give an example.
I have a batch file named "list.bat" in the folder
"C:\folder1\folder2\folder3\folder4\folder5"
I want this Batch file to list every file by a wildcard (with the directory attached) from above its current directory. Then send the out put to a text file.
Example; the result of the output in the text file should be something like this.
"C:\folder1\folder2\folder3\folder4\some_file.exe"
"C:\folder1\folder2\folder3\folder4\another_file.txt"
"C:\folder1\folder2\folder3\file3.png"
"C:\folder1\folder2\file4.vbs"
"C:\folder1\file5.whatever"
"C:\lastfile.whatever"
It should be the equivalent of recursively listing files down folders backwards.
Thank you