there's more than one way to set this up, but in my case what I did was first confirm that the directory
C:\Program Files\gs\gs8.61\lib
is in the path. This is the directory that holds the script file ps2ai.ps
Then I switched to the directory
C:\Program Files\gs\gs8.61\bin
because this contains the file gswin32c.exe
Then I ran the command
gswin32c -q -dNODISPLAY ps2ai.ps pathtest.ps > pathtest.ai
the first few lines of the output file pathtest.ai were as follows:
there's more than one way to set this up, but in my case what I did was first confirm that the directory
C:\Program Files\gs\gs8.61\lib
is in the path. This is the directory that holds the script file ps2ai.ps
Then I switched to the directory
C:\Program Files\gs\gs8.61\bin
because this contains the file gswin32c.exe
Then I ran the command
gswin32c -q -dNODISPLAY ps2ai.ps pathtest.ps > pathtest.ai
the first few lines of the output file pathtest.ai were as follows:
%!PS-Adobe-2.0 EPSF-1.2
%%BoundingBox: 0 0 612 792
%%Title: Adobe Illustator 3 Editable Document
%%Creator: ps2ai.ps vers. 2.14 (C) 1993-94 Jason Olszewski