>Actually I tried both 486 and a MMX and both failed. Later I put the directory in the Path and used just the file name and it did not work.
>
>Just want to confirm, this I am running from an EXE. Isnt the EXE supposed to have the reference of the SPR file in it so that I can be run straight, also I believe the FILE() command works for files inside the EXE.
The .EXE should contain the SPR entirely; you should absolutely not specify a path unless you've excluded it from the project.
>
>>>The IF FILE() works on a PIII 550 W2K Machine and fails
>>>on a 486 12MB RAM W98 machine, MMX machine.
>>
>>First, this is an inconsistent description of hardware. The PIII/550 is fine, but there is no such thing as a 486 MMX processor - the MMX designation was added to the Pentium processor to indicate the presense of an extended processor set on the Pentium chip, so there simply ain't no such thing.
>>
>>Second, a Win98 box with 12MB is an awfully thin configuration - I'd be surprised to see it run a couple of sessions of Notepad happily without hitting the swap file. Before spending any more time on this antique whatever-it-is, I'd suggest a minimum memory configuration of 32MB with Win98.
>>
>>>I tried relative path
>>>as specified above as well as IF FILE(m.zscrname + ".spr"), IF FILE("..\sprs\"+ m.zscrname + ".spr"), with without UPPER() for the file string
>>>
>>>but none of them work on the W98 machine
>>
>>Pathing behaves differently in the two operating systems; rather than using a relative path, I'd suggest resolving it to a fully-specified path using:
>>
>>
FULLPATH(CURDIR()+'..\<i>blah blah woof woof'</i>)
so that there is no ambiguity as to where the file is expected to reside.