>>I've noticed that SYS(2023) returns different results on different PCs.
>>Sometimes it returns long directory names and other times is returns the directory concatenated directory with ~ in it. Anyone know why it works this way and how I can make be consistant? This is VFP7
>
>It's been that way since VFP 3.0, and you're just now noticing? :-) The OS is probably the variable here, but I don't know how to make it consistent.
Yes, because Windows changed temp folders with Win2K. We have some code that consistantly breaks when temp directories have spaces.
It isn't the OS. I have 2 Win2K Pro installations. In once instance I get with ~ in the other I don't.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer