for /r %f in (*) do echo %f
Gives the output filename along with the entire path
How do i get just the
<filename> without the path included? I need to use that 'filename' string.
Also, is it possible to do the following, once the filename is acquired?
for /r %%f in (*) do ( echo "blah blah blah 'filename'" >> blahblah_filename.txt )