Why i am getting worng file name

Hi all, I am using ‘TypeInto’ activity to entering the excel file name , I am entering in_Transaction.SpecificContent(“Country”).ToString+“_”+in_Transaction.SpecificContent(“CountryCode”).ToString+“DayStart”+DateTime.Now.ToString(“dd/MM/yyyy”)+“.XLSX”

But In the folder i am getting one more folder Name(1) and into 1 folder i am getting file and the file name is showing only “2023.XLSX”

why i am getting this anyone know?

1 Like

@priyanshu_Vatsal Before creating folder print and check what path values you are getting

@priyanshu_Vatsal

The issue is with dd/MM/yyyy …slash should not be used in file path …it would be considered as a folder separation…

So in filename if you need to add date then use with underscore or without them like dd_MM_yyyy or ddMMyyyy

Cheers

Hi thanks, this is very helpful information. its work

1 Like