I want to know if i can use the wildcard in the download paths

Ok,same as the title,I want to know if I can use the wildcard in the download paths,such as C:\Users\*\Downloads

Hi @HuaiYe,

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”)

1 Like

@aanandsanraj ,I want to know what I should choose?
20220425154643

Choose “UserProfile” in the activity

@aanandsanraj ,Like this?

Yes you are correct

Just print the “VarDownloadPath” and see the result

1 Like

@aanandsanraj Thank you

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