win7环境dos命令如何按当前日期生成对应的文件及文件夹

如何去掉日期中填充的0

f:今天8月1号,生成的文件名字就是8.1()

我的命令:
@echo off
set month=%date:~5,2%
set day=%date:~8,2%

echo %month%|findstr "^0+\d+$" >nul
if %errorlevel% equ 1 set month=%month:~1,1%

md %month%
echo 创建了名字为:%month%的文件夹

pause

问题:
如何筛选0开头的月份和日期

set str_time_first_bit="%time:~0,1%"
if %str_time_first_bit%==" " (
    set str_date_time=%date:~0,4%%date:~5,2%%date:~8,2%_0%time:~1,1%%time:~3,2%%time:~6,2%
)else ( 
    set str_date_time=%date:~0,4%%date:~5,2%%date:~8,2%_%time:~0,2%%time:~3,2%%time:~6,2%
)

md %str_date_time%_backups

https://blog.csdn.net/qq_31878883/article/details/89099821