I want to create a folder name with date and time with additional name


I want to create a folder name with date and time and additional name Output DRL at the very beginning and date time format should be 27Feb 00:20

Hi @Bhushan_Nagaonkar ,

Could you manually create a Folder in File Explorer/Any Drive and show us a Screenshot of how you want the folder to be created ?

This would help us confirm on what you require.

Capture1
In this way or somewhat Iike this

@Bhushan_Nagaonkar ,

In that case, Check with the below Expression :

Path.Combine(Environment.CurrentDirectory,"OutputDRL"+Now.ToString("ddMMMhh-mm"))

Do note that you have only shown us the Folder Name representation, we still haven’t figured out your Parent Folder (If it is a different one than your Current Project Directory).

Thanks, much appreciated

1 Like

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