how to get the file inside the folder in batch

Shell
dir /b /a-d

Source

Also in Shell: