FortiClient
FortiClient proactively defends against advanced attacks. Its tight integration with the Security Fabric enables policy-based automation to contain threats and control outbreaks. FortiClient is compatible with Fabric-Ready partners to further strengthen enterprises’ security posture.
jkoay
Staff & Editor
Staff & Editor
Article Id 192228
Description
This article describes that it is difficult to define exclusions for folder path or file path if the user profile/folder path keeps changing. 
Solution
FortiClient EMS exclusions supports the following system variables when defining exclusions:

%allusersprofile% (Represents C:\ProgramData)
%appdata% (C:\Users\Username\AppData\Roaming)
%localappdata% (C:\Users\ Username\AppData\Local)
%systemroot% (C:\Windows)
%systemdrive% (C:\)
%userprofile% (Username)
%windir% (C:\Windows)

For example:

C:\Users\Fortinet\Documents Can be defined as '%userprofile%\ Documents'.

For more details about system variables and exclusions, refer to the link below:

Contributors