On Thu, 4 Apr 2019, Sven Schreiber wrote:
Am 04.04.2019 um 19:38 schrieb Allin Cottrell:
> Hmm, xlin.t is supposed to provide most of the content of sername.txt.
> You might try executing Ignacio's shell command directly in a console
> window:
>
> cd <dotdir>\tramo\graph\series
> echo "ser_adj" > sername.txt
> if exist xlin.t. (more +6 xlin.t >> sername.txt)
>
> If that fails, I wonder what happens if you try again without the
> trailing dot in "exist xlin.t."
Yes it fails (both variants). I narrowed it down to the 'more' command
which gives the error message "too many arguments in command line"
(re-translated).
Looking at the help (more /?) it seems that the /e switch is needed, and
indeed:
more +6 /e xlin.t
seems to work.
After googling this issue, it seems to me that "more" not working
properly without the "/e" flag is a bug in some (earlier) versions
of Windows 10. See for example
https://superuser.com/questions/1370353/more-command-returns-too-many-arg...
I can check (tomorrow) if appending "/e" causes a problem with a
version of Windows 10 that doesn't have the bug in question.
Allin