# Function Reference

# _WinAPI_ShellAddToRecentDocs

Adds a file to the most recently and frequently item list

#include <WinAPIShellEx.au3>
_WinAPI_ShellAddToRecentDocs ( $sFilePath )

## Parameters

$sFilePath | The name of the file to be added. Set this parameter to empty string to clear all usage data on all items.

## Return Value

None.

## See Also

Search SHAddToRecentDocs in MSDN Library.

## Example

    #include <WinAPIShellEx.au3>

    _WinAPI_ShellAddToRecentDocs(@ScriptFullPath)