I've been using dir /b to display all files and folders in a directory but it includes the file extension for every file in a directory. What is the command for displaying all files without including their extension?
Example:
A entered dir /b inside a directory and it displays the following:
Avengers Endgame (2019).mp4
Thor Ragnarok (2017).mp4
....................
What I want is this:
Avengers Endgame (2019)
Thor Ragnarok (2017)
To be displayed in command prompt without including their file extensions.

Get-ChildIem | select Basename(short version(gci).Basename') orgci | format-wide -Property Basename -Column 3– Keith Miller Aug 29 '19 at 13:15