Solved File list over writing problem

February 25, 2013 at 12:08:47
Specs: Windows 7
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?

See More: File list over writing problem

Report •

February 25, 2013 at 13:31:16
✔ Best Answer
(for /r mydrive:\mypath\mydir %g in (*) do @echo %~nxg)>list.txt

How To Ask Questions The Smart Way

Report •
Related Solutions

Ask Question