show files without extension
Posted: 25 Mar 2011 01:00
Hi All
E:\MyProgramme contains number of files with different extensions. I want to show only all files with .exe , Please note that display file name only. Not display extension(i.e. .exe ). Please advice me how to write bat file for above requirement. I tried following one but display files with file extension.
DIR /B "E:\MyProgramme\*.exe" /O:d
Thank you
E:\MyProgramme contains number of files with different extensions. I want to show only all files with .exe , Please note that display file name only. Not display extension(i.e. .exe ). Please advice me how to write bat file for above requirement. I tried following one but display files with file extension.
DIR /B "E:\MyProgramme\*.exe" /O:d
Thank you