File Path in c drive or local desktop

Hi,
I have to give universal path for the file, it can be stored in local desktop or in the c drive.
So is there any option in uipath for it.

Hi @Ak_4

If you need to get the Drive name or Account name dynamically just try with the following

Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)+"\Downloads" 

Environment.ExpandEnvironmentVariables("%USERPROFILE%\Downloads")

Regards
Gokul

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