Custom capabilities for(Environment variables ) appium windows

Hi Guys,

Can we set the Android Home path using appium capabilities or any other solution in Windows instead of Environment variable path set?

Thanks in Advance