I want to generate a text-file that lists all folder and subfolders as:
and I want to proceed eacht folder line with a string:
and save the file as myfile.abc
I already have this:
dir /s /on /b /a:d > c:\myfile.abc
that gives me a list with the directorys. And I can use the command on a folder by RMB --> files listing
Now I want to add the string in front of each line. But I can't figure out how to add the string, I thougth maybe by replacing the "c:\" with "string c:\"?
I'm a real noob in .bat files and really appreciate your help