I stumbled on question 217394 which explains how to copy files sorted alphabetically into one single file. Trying to implement the command myself rendered the following error message:
The system cannot find the file specified.
The command I am trying to run is here:
for /f %i in ('dir /a-d /o-n /b O:\OrdersExport\Order*.txt') do @type %i >> C:\Users\Admin\Documents\OrderImport.txt
The error does not appear if I browsed to the folder in question first:
C:\>O: C:\>cd OrdersImport
I simply want one line to copy from destination to that single file.
By the way, if it matters, O: is a mapped folder over network