What should I do to be able to call Ghostscript in Windows by its invocation name? I added Ghostscript bin folder to Windows PATH and Path variables but it doesn't work, neither does 'gswin32c.exe' nor 'gswin32c'. Logging out and then logging back in also didn't help. How do I solve this issue? Maybe I'm using the wrong invocation name?
The command line to invoke Ghostscript is essentially the same on all systems, although the name of the executable program itself may differ among systems. For instance, to invoke Ghostscript on unix-like systems type: gs [options] {filename 1} ... [options] {filename N} ...
Help at the command line: gs -h switch, like this: gs -h gs -? The message shows for that version of the Ghostscript executable: the version and release information.
Run "gs -h" to find the location of Ghostscript documentation on your system, from which you can get more details.
There are several possibilities. To list the two most frequent ones:
c:\full\path\to\gswin32c.exe
should always work.
For 64bit systems, use c:\full\path\to\gswin64c.exe
.%path%
environment variable is used.cmd
window and (assuming your Ghostscript installation ended up in c:\path\to\gs
...) then type set path=c:\path\to\gs\gs9.02\bin;%path%
. From this same cmd window you can now simply use gswin32c
to start Ghostscript (use gswin64c
on 64 bit Windows)...I've finaly got what i want after rebooting. Weird. Thanks all of you for your help.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With