Hi,
I have following batch files to list all the excel files in my folder:
for /r %%i In (*.xls) DO echo %%i
However, this will also include all excel files in subfolders of my current folder. How can I prevent that? I only want the files in the folder itself, not the subfolder.