Blank space in flie name

Reinaldo Garcia
Total Points:
175
Status Points:
125
Green Belt
July 2, 2009 7:32 PM PDT
Rate
 
#3 Reply to #2
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


Intel Software Network Forums Statistics

8473 users have contributed to 31604 threads and 100653 posts to date.
In the past 24 hours, we have 31 new thread(s) 110 new posts(s), and 163 new user(s).

In the past 3 days, the most popular thread for everyone has been gemm(A,A,A) like possible? The most posts were made to gemm(A,A,A) like possible? The post with the most views is Dear Steve, excuse me for a d

Please welcome our newest member Kevin Johnson