I am using the following command to dump the complete file listings recursively from a directory.
dir /b /s c:\myfolder > c:\mylist.txt
This works fine but it is display the results with the full path as well, beacuse I am using a regex expression on the results I need them to display only the filenames.
Anyone any ideas?
Change your regex to get the filename from the entire path.
If you can use powershell, look at
Get-ChildItem. You can have more powerful options with it.