Dynamic download path settings

Hello,
I have added a wait for download activity and it has the monitor Path for my system I have configured and it’s fine how can I configure for others system… how to set that path dynamically.
Thank you,

1 Like

You can copy the downloaded file and move it to a different directory.

Hi @ridvanucok ,
In wait for download activity we have monitoring folder path for my system for ex. C:users/xxx/download ok…
I need to configure this folder path in another machine with user name yyy or xxx which whill change every 4months how to set download path for that machine…

If there is a public network folder, it might help to move your file there.

Hey @sanjay_gowda

Kindly save the path in the asset (Value per user with or without machine)

Thanks
#nK

Hi @Nithinkrishna,

Cant we pass dynamic folder location i.e if I give the automation script to another user the robot should choose their download path location I need this thing to be done…

Thank you.

1 Like

hI @sanjay_gowda

You can try with this

Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)+“\Download”

This will get you upto the user profile you can concatenate it with \Download

Hope this Helps

Regards
Gokul

4 Likes

Hey @sanjay_gowda

Understood. The approach provided by @Gokul001 should help.

path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),"Downloads")

Thanks
#nK

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.