Identify filepath

I need to identify the filepath to the folder download. I have a process where I pick up a downloaded file and this process will run on differnt machinies. Is there any simpy way to identify the filepath on the current machine running the process and put it in a String variable?

Which browser you are using?
chrome: change the download setting so it will give us a save as pop up and you can provie the location where you want to download

IE:use sava as instead of save

hi @ringan,

Uipath has activity called Get Environment Folder. You can use the Same and get the folders shown in below image.


More Details :


Thanks, but “Downloads” is not listed as a Special folder. I solved it by using:
var filepath=Environment.ExpandEnvironmentVariables("%USERPROFILE%\Downloads")

That gave med the filepath to use.


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