Now I see that I needed to add the path of gswin32c to my Path environment variable and use the Windows command line. The exe file that I downloaded to install Ghostscript should have done that (or at least provided the option), or instructions on how to do it should be in the instructions. Anyway, I did it and now the Ghostscript commands work.