p.s. By the way, check out the remarks in HELP for SYS(3). Here's what Visual FoxPro's very own help for 5.0 AND 6.0 says:
SYS(3)
Returns a legal file name that can be used to create temporary files.
Syntax
SYS(3)
Returns
Character
Remarks
SYS(3) may return a non-unique name when issued successionally on a fast computer. Use SUBSTR(SYS(2015), 3, 10) to create unique, legal eight character file name.
Ernie Veniegas Micro System Solutions ... sensible software by design