/Engine/Source/Editor/UnrealEd/Classes/Commandlets/DiffAssetRegistriesCommandlet.h
Do the export without creating a commandlet
void DiffAssetRegistries ( const [FString](API\Runtime\Core\Containers\FString) & OldPath, const [FString](API\Runtime\Core\Containers\FString) & NewPath, bool bUseSourceGuid, bool bEnginePackagesOnly )