How to choose following year folder

Hi there,
I have a script where i have to upload files on the this folder 2022. As for now, i want the script to detect 2023 and it should be automatic for every year. How do i do it?

@Mark_Rajkumar

Now.Year will give the current year always

Cheers

Hi @Mark_Rajkumar ,

Are you using the powershell script to find a year folder?

Hi @Manish540 no i am.not

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