If you are relying on the windows executables then the gs app is called gswin64c or something since it is a lot easier to type that than just gs… Maybe @Joaquim can suggest why we cannot have an alias for this on the win installation.
Maybe because I don’t know how to deal with symbolic links in the installer. Symbolic links on Windows are utterly stupid. They need administrator rights and even that is not activated by default in an administrator account (don’t know if that changed in Win11).
The easiest is really to create a local gs that symbolic link to gswin64c and put it somewhere in the path.
Or do not use *nix only names in the scripts?
The problem in the copy solution is that if users have ghostscript installed that’s what is supposed to be used.
Maybe there is no good solution to anything here. But gs is the name of the executable. I do not know why the Windows version has to have win64c or similar added to it but that is what it is. It would be nice if the GMT script would just work on all OS. Here, it seems the solution is just to replace the gs call with gmt psconvert and problem solved.