OT Batch file
On Thu, 4 Jan 2018 18:24:03 +0100, "R.Wieser"
wrote:
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
Can this be modified to use more than one drive?
Thanks
|