Hi All!
Is there a way to ensure that the set of files identified in a FOR command are processed in alphabetical order without explicitly naming each file (in my case, all PDF files)? This list of PDF files changes dynamically.
FOR %%Z IN (*.pdf) DO <whatever>...
If I use what I have here, the process picks up any file in the directory, regardless of order. Maybe there's a way to dynamically dump a list of names for all PDF files within a directory into a variable and then I could pass the variable as the set of files...