I need to write a batch command for the below DOS commands:
DIR /B /O:N > filenames.txt
I am not a DOS expert at all so could someone show me how to do this? I know that I open Notepad and save it as an .exe file and I know if I type in the above lines in a command prompt I get the information I need but I am not sure how to write the batch command. Any assistance provided would be appreciated.