Unable to run attanded robot from batch file

try this

C:\Users\User\AppData\Local\Programs\UiPath\Studio\UiRobot.exe -file “\NetworkName\Folder\Main.xaml”