I have to repeatedly create a special file which is nothing more than a recursive directory listing stating with level 1 through level 4 and no further. There are plenty of files and folders beneath level 4 and everything I try keeps going down too far. Several months back I asked the question differently and was sent to a program which works but was almost too complicated.
Then out of the blue someone posted a way to do this through Powershell that was about as simple as it gets but for the life of me I cannot find it. It almost seems like it was similar to the UNIX DU command but it gave directory names instead of size. It was a one line batch file run under powershell is the best I can remember. Best of all, the listing gave each folder in a complete path showing all four levels. If anyone has any ideas of where to find such I would appreciate it. I'm still looking and if I find it I will answer my own question in case it might help someone else one day
Then out of the blue someone posted a way to do this through Powershell that was about as simple as it gets but for the life of me I cannot find it. It almost seems like it was similar to the UNIX DU command but it gave directory names instead of size. It was a one line batch file run under powershell is the best I can remember. Best of all, the listing gave each folder in a complete path showing all four levels. If anyone has any ideas of where to find such I would appreciate it. I'm still looking and if I find it I will answer my own question in case it might help someone else one day











Maybe this is just too easy to see?