How To Fix This? Assign: Could not find a part of the path 'C:\Users\Marvin\Downloads\monday-report qc.pdf'

Why I Get This Error did i miss something in the path i given?

hi @marvin_ariel_johannes,

Welcome to the Community !

This Error occurs when the patth specified is incorrect. pleae try the Following.

  1. Manually try to browse the path and see if you can access the same.
  2. Make sure there are no extra spaces / special charactes in the file Name.
  3. Please make use of pathexist and fileexist activity - These activities will take care of the path related issues.


Mukesh

1 Like

i’m already check and for slash / and \ is different?

Awesome , So you managed to find the solution ?

nope, still can’t

I see a space in your path. Is the path between doublequotes?(to keep them in the actual string, use three doublequotes)

"""C:\Users\Marvin\Downloads\monday-report qc.pdf"""

or :slight_smile:

CHR(34) & Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "Downloads", "monday-report qc.pdf") & CHR(34)

2 Likes

i can use this thanks or i insert + within report+qc

1 Like

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