I am creating folder but its giving me this error
“C:\Users\bots.global\OneDrive - Motherson Group\D033 Monthly Report\202”+data2+“"+Data3+”"+Data4
Here data2, Data3, Data4 are the variable Right?
If yes Try with this expression
"C:\Users\bots.global\OneDrive - Motherson Group\D033 Monthly Report\202\"+data2+"\"+Data3+"\"+Data4
Regards
Gokul
1 Like
Same error
Same error but its giving log value correct
Check out this thread @Kuldeep_Pandey
Try with this expression
System.IO.Path.Combine("C:\Users\bots.global\OneDrive - Motherson Group\D033 Monthly Report\202",System.Text.RegularExpressions.Regex.Replace(data2.toString,"[\\/:*?""<>|`]|\r|\n",""),System.Text.RegularExpressions.Regex.Replace(Data3.toString,"[\\/:*?""<>|`]|\r|\n",""),System.Text.RegularExpressions.Regex.Replace(Data4.toString,"[\\/:*?""<>|`]|\r|\n",""))
Hi @Kuldeep_Pandey,
“D033 Monthly Report\202"+data2+”"+Data3+""+Data4 give this only in create folder activity. It will create folder automatically in your project folder. If we give relative path in create folder activity, it should work.Let me know if this works
202 is common in both and in next its giving the data from pdf like 1,2,3
not working
Access denied
Try with this
"C:\Users\bots.global\OneDrive - Motherson Group\D033 Monthly Report\202"+data2.Tostring.Trim+"\"+Data3+"\"+Data4+"\"
Regards
Gokul
Same error
Try this out @Kuldeep_Pandey
System.IO.Path.Combine("C:\Users\bots.global\OneDrive - Motherson Group\D033 Monthly Report\202"+System.Text.RegularExpressions.Regex.Replace(data2.toString,"[\\/:*?""<>|`]|\r|\n",""),System.Text.RegularExpressions.Regex.Replace(Data3.toString,"[\\/:*?""<>|`]|\r|\n",""),System.Text.RegularExpressions.Regex.Replace(Data4.toString,"[\\/:*?""<>|`]|\r|\n",""))
1 Like
Access denied