## How can I change the folder where Gams saves the result.gdx file?

Problems with syntax of GAMS
jan_gh
User
Posts: 5
Joined: 1 year ago

### How can I change the folder where Gams saves the result.gdx file?

Hi guys,

I have the problem, that I don't know how to change the destination where the result.gdx file is saved. It loads the input.gdx right (same folder where the project is stored). But why does it saves the output.gdx wrong?

Best,
Jan

bussieck
Moderator
Posts: 330
Joined: 2 years ago

### Re: How can I change the folder where Gams saves the result.gdx file?

Hi depends how you instruct GAMS to create the GDX file. Most commands allow you to specify an absolute or relative path, e.g. execute_unload '..\gdxoutdir\output.gdx';.

-Michael