gdxxrw.exe is not recognized as an internal or external command

Problems with syntax of GAMS
Post Reply
Zib
User
User
Posts: 2
Joined: 5 months ago

gdxxrw.exe is not recognized as an internal or external command

Post by Zib » 4 days ago

Hello all,

I am running GAMS on windows and am trying to export the results of the model from GAMS to Excel using GDXXRW command. However, I am getting this error: "gdxxrw.exe is not recognized as an internal or external command, operable program or batch file". I tried adding the GAMS path to system variables but didn't work. Any ideas on how to fix this error?
Thank you in advance,

Mary

abhosekar
Moderator
Moderator
Posts: 190
Joined: 9 months ago

Re: gdxxrw.exe is not recognized as an internal or external command

Post by abhosekar » 4 days ago

Please close and reopen your terminal/command prompt/Studio/IDE after you add GAMS System directory to your environment variable PATH.

After you do this, you should be open command prompt and use gdxxrw and it should identify. Similarly, the command gams should be identified as well. If it isn't you are setting incorrect path.
The path is usually like "C:\GAMS\35". (gams.exe, gdxxrw.exe exists in this path)

Hope this helps.

- Atharv

Post Reply