How is this filename getting to Fortran? Is it a command line argument? You'll see the same behavior for many applications. Enclosing the filename in quotes ("") will handle that.
If it's just in an OPEN, then embedded blanks in a file specification are fine.
Thanks Steve:
I use the GETARG subroutine to assign from the command line argument the file name to a character variable. The file name may have blank spaces. I then use the fullpathqq and splitpathqq functions to extract the path, which I assign to another variable. In both cases I get the names trucated when there is a blank space. What can I do in those cases?
Thanks so much,
Reinaldo