I am trying to create a single folder with a date name from a variable. My current variable reads as ‘2024/04/30’. This format ends up creating three folders 2024 , 04 and 30 because the slash (“/”) is understood as a folder by UiPath. I can’t change the format of the date input because that is the format expected further along the code. I just want to create one folder - 2024/04/30
/ is not a valid cahracter within a windows folder name and cannot be used
still u could use eg _ instead of / and with a myFolderNameVar.Replace("_","/") work as you want to
1 Like
Thanks I just got to know that and just see reply after that but thanks
Perfect so the topic can be closed by:
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.