I wanna create a timestamp folder with today's date and time and copy some folder to it, how to do this? : I'm trying to create a folder in windows with current timestamp details and copy some folder to it. I tried as below

 

       bat 'for /f "tokens=2-4 delims=/ " %%i in ("%date%") do SET today_fname=%%i_%%j_%%k'
        bat 'for /f "tokens=2-4 delims=/ " %%i in ("%date%") do md today_fname'
        bat 'cd %today_fname%'
        bat 'copy "C:/Program Files (x86)/Jenkins/workspace/jenkins Pipeline/application/bin/Debug/netcoreapp2.1/os/publish"'
It ends up creating a folder with a timestamp name and copying the folder contains to current directory instead of Cd to newly created folder 
i'm trying to create a folder with a name 05_14_18_7_31 and copy the contains present in this location "C:/Program Files (x86)/Jenkins/workspace/jenkins Pipeline/application/bin/Debug/netcoreapp2.1/os/publish" to 05_14_18_7_31
