FilePath error

Hi,
While saving a file when I give a file name as “c:\xxx\yyy\z.pdf” why does UiPath removing c: from the file path.

I am type into the file name field while saving as file. I have hard coded the path.

Thank you,

Hi @A_Learner

If you are using a type into activity, try to use the input method with SendWindowsMessage

Regards

Hey @A_Learner
Try using ‘set to clipboard’ activity and ctrl+v to ‘type into’ instead of typing full path.
Something like this:
image
It’s so much faster method :slight_smile:

1 Like

Hi,

If c: always lacks, it may be too early to input the field. To isolate cause, can you try to add a few seconds delay before type-into?

And also consider to use auto-verification. It will re-input if input string in the field is not same as data in the property.

image

Suggested solutions in the above posts : Change input mode and/or use Clipboard are also good idea.

Regards,

1 Like

Hi @A_Learner

While saving the file name using Type Into activity keep the Input mode in Hardware Events and give the file path. This should work for you.
image

Regards

Adding 2 seconds delay helped. Thanks @Yoichi

Thanks everyone.

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