- Aug 28, 2008
Maybe there's an obvious way to do this that I'm missing, but the PDIR command would seem like precisely the right tool to get a list of filenames without the extensions, yet I find no way to do this. I know I can use a for loop (for %f in ("*.*") do @echo %~nf), but I thought maybe either DIR or PDIR would allow this. Yes? No? Maybe? Thanks in advance.