sysutils.addrecent(fname)
Adds an item to the Windows recent documents list in the Start menu, or in the File Explorer under "Recent".
Parameters
fname
The the file to be added, as astring
representing the full path or as a File.
Return value
This function returns no value.Example
local sysutils = require "sysutils"
-- Add the file "C:\\memo.docx" to the Windows recent files list
sysutils.addrecent("C:\\memo.docx")