[Migrated content. Thread originally posted on 04 July 2007]
I am using a call to c$system to display image/picture files (.jpg .tif .pdf etc,).Where the file name has imbedded spaces, it does not work whatever the setting of FILENAME_SPACES.
I use:
call c$system using w-filename 96.
If w-filename has the value "c:\\myfile.jpg" it displays the file correctly
If w-filename has the value "c:\\my file.jpg" 96 - it does not display the file.
I have tried using trailing spaces and trailing x"00" in the file name.
Anyone have an idea of why this is happening?



