User Tools

Site Tools


platform:spaces_in_directory_or_file_name

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
platform:spaces_in_directory_or_file_name [2018/10/22 15:29]
Michael Bussieck created
platform:spaces_in_directory_or_file_name [2018/10/23 12:06]
Michael Bussieck
Line 2: Line 2:
  
 <​code>​ <​code>​
-$ cd "My Directory"​ && gams "my model.gms"+$ cd "My Directory"​ && gams mymodel.gms
 *** Error: White space in CurrentDir *** Error: White space in CurrentDir
            ​CurrentDir = /​Users/​michael/​My Directory            ​CurrentDir = /​Users/​michael/​My Directory
Line 23: Line 23:
 As a side note, it is not a good idea to run GAMS in a synchronized folder like Google Drive. Here you can read [[gams:​can_i_use_dropbox_with_gams|more]] about this topic. As a side note, it is not a good idea to run GAMS in a synchronized folder like Google Drive. Here you can read [[gams:​can_i_use_dropbox_with_gams|more]] about this topic.
  
-The remedy for this error is clear. Avoid file and path names with spaces. If you user name already contains spaces you will have to run GAMS in a folder outside your user directory. If you have admin rights you can create such a directory easily enough. Without admin privileges you can create a subdirectory under ''/​tmp''​ and do your GAMS work there.+The remedy for this error is clear. Avoid file and path names with spaces. If your user name already contains spaces you will have to run GAMS in a folder outside your user directory. If you have admin rights you can create such a directory easily enough. Without admin privileges you can create a subdirectory under ''/​tmp''​ and do your GAMS work there.
  
 Help is on the way. The upcoming 25.2 (expected December 2018) will allow spaces in path and file names not only for Windows but also for UNIX (and Mac).  Help is on the way. The upcoming 25.2 (expected December 2018) will allow spaces in path and file names not only for Windows but also for UNIX (and Mac). 
  
IMPRESSUM / LEGAL NOTICEPRIVACY POLICY platform/spaces_in_directory_or_file_name.txt ยท Last modified: 2018/10/23 12:06 by Michael Bussieck