User Tools

Site Tools


This is an old revision of the document!

Quoting in GAMS

A file or directory path that includes space characters can be surrounded by double quotes in order for an operating system to handle the path reference correctly. A path reference can also be surrounded by single quotes on Linux, but not on Windows. To create operating system independent GAMS code, please consider the following recommendation.

If you need to quote a path, use double quotes, e.g. create a directory at compile time:

$call mkdir "my folder"

Furthermore, use single quotes for the outer quotation, and double quotes for the inner quotation, e.g. create a directory at execution time:

Execute 'mkdir "my folder"';
IMPRESSUM / LEGAL NOTICEPRIVACY POLICY platform/quoting_in_gams.1438160760.txt.gz ยท Last modified: 2015/07/29 11:06 by tlastusilta