This is probably a very simple question, but I\'m having trouble with it. Basically, I am trying to write a Batch File and I need it to list all the files in a certain directory
You can also try this:
for %%a in (*) do echo %%a
Using a for loop, you can echo out all the file names of the current directory.
for
echo
To print them directly from the console:
for %a in (*) do @echo %a