OT Batch file
Seymore,
How do I modify this to not show the path?
You could try to remove the '/b', but I don't think you will like the result
.... (too much crap besides the filenames). In short, you don't.
But its possible without even using 'dir'. Like this:
@echo off
echo.$$$.txt
for /r o:\ %%a in (*) do echo %%~nxa $$$.txt
sort $$$.txt o:\dl\misc\List\drive.txt
del $$$.txt
Hope that helps.
Regards,
Rudy Wieser
|