I am using the command to make a list of files without the directory paths: 'for /r mydrive:\mypath\mydir %g in (*) do echo %~nxg>list.txt'
It is working however the results are over writing each other ending with only one result instead of a proper list. How can I fix it?
(for /r mydrive:\mypath\mydir %g in (*) do @echo %~nxg)>list.txt
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |