Hello, I am trying to use the following folder path to open the downloads when the Use Application activity is ran. I believe it is the correct folder path but for some reason it opens documents instead of downloads, does anyone have a fix?
Hello,
When you indicate the app can you try to indicate while it is on downloads, and instead of USERPROFILE try to put for the moment full local path
Hi, I’ve tried to indicate it while its on downloads and I cant use the exact path since it wont be the same user each time.
Check Environment Variables Sometimes, the folder paths might be redirected or customized due to environment variables. Ensure that the %USERPROFILE%\Downloads
environment variable resolves to the correct path for the Downloads folder on your system.
Can you try Environment.UserName , so you have the user dynamic
“c:\users"+Environment.UserName+”\downloads"
You can’t use environment variable in the application argument.
Instead use
Environment.ExpandEnvironmentVariables("%USERPROFILE%") + "\downloads"
Cheers
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.