How to change browser default download location using code

Hi,

I have a scenario where i had to change the download location settings in Browser(preferably chrome) without opening the browser. I tried to find the code(VB.net or Powershell) but nothing is helpful. Can anyone help me with this…Also i had to know the version of the chrome/browser that is installed.

TIA

@Bandi_Vinay_Kumar,
are you downloading file from browser?

You could use this activity:
https://docs.uipath.com/activities/docs/get-last-downloaded-file

yes, hence the default download location should be changed to dynamic value before starting the Bot

Thanks Oscar but there are more setting changes i need to make according to User’s request

1 Like

Hi @Bandi_Vinay_Kumar

Have a look on the uipath marketplace

Regards
Gokul

Hi Gokul,

Thanks for the response but I am looking for vb.net or powershell , we are not allowed to use custom packages…

Hi @Bandi_Vinay_Kumar,

Is this any help?

this would help, but when i try to use it in uipath, i am getting errors.

Send to me the batch file… i will check and try

I sed the same code as you shared in the link…this is the error it is showing