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
create a batch-file with the following code:
dir %1 /b /a-d > list.txt
Then drag & drop a directory on it and the files inside the directory will be listed in list.txt