Call Ghostscript in Windows by its invocation name?

前端 未结 3 1891
闹比i
闹比i 2021-01-05 02:11

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, ne

相关标签:
3条回答
  • 2021-01-05 03:00

    In my case the easiest option that actually made it work was renaming the main exe to gs.exe and with the path configured it works like a charm.

    0 讨论(0)
  • 2021-01-05 03:14

    There are several possibilities. To list the two most frequent ones:

    1. c:\full\path\to\gswin32c.exe should always work. For 64bit systems, use c:\full\path\to\gswin64c.exe.
    2. After a fresh installation using a standard windows installer, you may need to reboot before the updated %path% environment variable is used.
    3. Open a 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)...
    0 讨论(0)
  • 2021-01-05 03:16

    I've finaly got what i want after rebooting. Weird. Thanks all of you for your help.

    0 讨论(0)
提交回复
热议问题