How do I get the filename from this string?
\"C:\\Documents and Settings\\Usuario\\Escritorio\\hello\\test.txt\"
output:
\"
Assuming you need the the names of files under the "c:\temp" directory tree (including sub-directories):
FOR /R c:\temp %i in (*.*) do echo %~nxi