>>set defa to c:\ >>set path to c:\,c:\temp\dir1 >>STRTOFILE('aaa','c:\temp\dir1\xyz.xyz') >>?FILE('c:\xyz.xyz') &&.T. which is NOT correct!!!!!! Surprise.... >>?FILE('c:\temp\dir1\xyz.xyz') && .T. which is correctAhh! I get it now. This could certainly be an issue under some circumstances.
set path to c:\, c:\windows ? FILE("c:\explorer.exe") && returns .T. even though explorer.exe is not at c:\I believe if an explicit path is provided to the file people would expect the file to exist at that specific location and not in any of the paths. In the case of large applications with many files and directories with a complex path statements (like SagePro), it becomes more likely that using the File() command could cause side effects that are not expected.