Ok,same as the title,I want to know if I can use the wildcard in the download paths,such as C:\Users\*\Downloads
You can construct the path by yourself dynamically.
- Create variable to store userprofile of current windows login profile “varUserprofile”
- Create another variable to save the folder path “varDownloadPath”
- Use Get Environment Folder activity to get and store the Userprofile
- Then construct the path using Assign activity
varDownloadPath = Path.Combine(varUserprofile, “Downloads”)
@aanandsanraj ，I want to know what I should choose?
Choose “UserProfile” in the activity
@aanandsanraj ,Like this?
Yes you are correct
Just print the “VarDownloadPath” and see the result
@aanandsanraj Thank you
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.