Answers.Body: <p>There are at least two Windows programs that you can start per command line: <a href="http://www.playwitharena.com/" rel="noreferrer">Arena</a> and <a href="http://scid.sourceforge.net/" rel="noreferrer">SCID</a> (or <a href="http://scidvspc.sourceforge.net/" rel="noreferrer">SCID vs PC</a>).</p>
  
  <h3>Arena</h3>
  
  <p>To open a PGN file in Arena, call it with:</p>
  
  <pre><code>Arena.exe -loadgamefile "path/to/sample.pgn"
  </code></pre>
  
  <p>There are many more options listed in the help file under <em>Miscellaneous/Command Line Parameters</em>. <code>analyze</code> is particular useful.</p>
  
  <h3>SCID and SCIDvsPC</h3>
  
  <p>Both come with the same very small set of command line options. Again see the help file.</p>
  
  <p>Open a PGN file with:</p>
  
  <pre><code>scid.exe "path/to/sample.pgn"
  </code></pre>
  
  <p>Arena's command line support is far superior in my opinion.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-15T06:22:09.887Z
Answers.LastActivityDate: 2017-09-15T06:22:09.887Z
Answers.UserDisplayName: fuxia
Body: <p>the program should display a PGN file, be fast to run, and absolutely be expected to be callable by the command line (passing the PGN file as an argument).
  The reason is I began to create a concept map about an opening, and I can call from this map some EXE programs. I would like to display some games as examples of the nodes.</p>
  
  <p>I already searched, but till now I found nothing.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-14T20:59:49.140Z
Comments.Text: SCID and Arena?
Comments.UserDisplayName: fuxia
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-15T00:54:14.883Z
Comments.Text: @fuxia that's the answer I'd give, would you mind posting it as an answer instead of a comment please?
Comments.UserDisplayName: Pablo S. Ocal
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-15T03:05:29.417Z
Comments.Text: @SmallChess Can't you call SCID by command line anymore? Maybe not by default, but I used to have mine set up so that I could access them by command line: I called my engine through SCID to analyze positions and return a .pgn with comments where the evaluation changed more than some number. The truth is that you're just calling SCID, opening it in the background, doing stuff and then closing it, but in practice you only use the command line.
Comments.UserDisplayName: Pablo S. Ocal
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-15T06:25:10.870Z
Comments.Text: @PabloS.Ocal Done. :) I wasn't sure whether the OP didn't find those programs or ruled them out for some reasons.
Comments.UserDisplayName: fuxia
Tags: <windows>
Title: Windows chess program that can load PGN files per command line
ThreadText: # Windows chess program that can load PGN files per command line
  
  (Asked by: username_0 on 2017-09-14)
  
  the program should display a PGN file, be fast to run, and absolutely be expected to be callable by the command line (passing the PGN file as an argument).
  The reason is I began to create a concept map about an opening, and I can call from this map some EXE programs. I would like to display some games as examples of the nodes.
  
  I already searched, but till now I found nothing.
  
  **Tags:** windows
  
  > **Comments:**
  > **username_1**: SCID and Arena?  
  > **username_2**: @username_1 that's the answer I'd give, would you mind posting it as an answer instead of a comment please?  
  > **username_2**: @SmallChess Can't you call SCID by command line anymore? Maybe not by default, but I used to have mine set up so that I could access them by command line: I called my engine through SCID to analyze positions and return a .pgn with comments where the evaluation changed more than some number. The truth is that you're just calling SCID, opening it in the background, doing stuff and then closing it, but in practice you only use the command line.  
  > **username_1**: @PabloS.Ocal Done. :) I wasn't sure whether the OP didn't find those programs or ruled them out for some reasons.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-09-15. Score: 5 | Accepted answer
  
  There are at least two Windows programs that you can start per command line: Arena and SCID (or SCID vs PC).
  Arena
  To open a PGN file in Arena, call it with:
  Arena.exe -loadgamefile "path/to/sample.pgn"
  
  There are many more options listed in the help file under Miscellaneous/Command Line Parameters. analyze is particular useful.
  SCID and SCIDvsPC
  Both come with the same very small set of command line options. Again see the help file.
  Open a PGN file with:
  scid.exe "path/to/sample.pgn"
  
  Arena's command line support is far superior in my opinion.
  
  
  ---
  
  