あともう少しな気がします。

reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Excel\Security\Trusted Locations" /v "trust Documents" /t REG_DWORD /d "%userprofile%\Documents\trustdoc" /f