How to send the output of siril-cli to a log file (when not using GUI)

Hi,

so, many things here, let’s take them from the start:

  • if you want to skip specifying the full path to siril-cli.exe, you can add “C:\Program Files\Siril\bin” in your PATH, but that’s not strictly required in your case
  • I believe the main problem is the start call in your bat file. If I test with that, I can’t pass a -d argument (get the same error as you). And even after cd’ing to the correct folder, my log is empty. I believe it breaks down to the number of args which are parsed when we interpret the command.
  • So basically, just keep it simple:

"C:\Program Files\SiriL\bin\siril-cli.exe" -d "workfolder" -s script.ssf >C:\path\to\log\test.log

does exactly what you want.

Cheers

C.