I did:
for %a in (*.nwc) do nwc2 -convert %a info >> List.txt
and NWC crashed badly.
My bad: I forgot the quotes around the filename and some files have blanks in their filenames; but crashing is not the right way to handle such events.
I then did:
for %a in (*.nwc) do nwc2 -convert "%a" info >> List.txt
No crashes this time, but no info either.
The same using a plain and simple:
nwc2 -convert foo.nwc info
This worked instead:
nwc2 -convert nwc mid <foo.nwc >foo.mid
but it's not what I need.
And nwc-conv isn't supported anymore...
I discovered in my notes that that syntax is obsolete.
I found this:
It works but it's far from perfect if you want to collect the info of many files, like I do. This at most creates a file .info for each nwc file.
Then I remembered that if windows uses a GDI then it doesn't support stdin and stdout and vice versa.
But, with my great wonder, my notes say also:
So my findings are:
- we need the command line explained in the help (as far as I saw, it is not),
- the command line can easily make NWC crash,
- there is no way to collect the info of many files at once in a single file like it was with nwc-conv.