Hello Expertise
Please help me in this error
System.ArgumentException: Illegal characters in path. Where my NewPath variable contain some path and error arise here.
Hey @James90
Try to writeline your path first for debug purpose then see if some character is coming in file path which is not supported by windows or else.
Regards…!!
Aksh
Hi @aksh1yadav
My NewPath gives “C:\ESD” and I want this path, but I am getting illegal path error?
Can you remove back slash in your directory.getfiles and give a try and what NewPath contains, remove Newpath hardcode and see if you are getting the error, if its working then there are extra spaces or special characters in NewPath variable
Could you please show me what you assigned to NewPath.
For your reference pls find the attached workflow.
Test.xaml (7.9 KB)
I am having illegal characters in the path in this. Please, can you solve it?
NewPath contains the path to save the file. “C:\Users”
Change '/' to '\'
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.