for /r %i in (*) do @echo %~ni >> list.txt
If you end up wanting the extensions, change %~ni to %~nxi
To use in a batch file, change all the % to %%
If you end up wanting the extensions, change %~ni to %~nxi
To use in a batch file, change all the % to %%
No comments:
Post a Comment