Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use batch to create a folder with a date

Shulou Source: shulou.com Published: 2022-06-03 08:37:51 11月15日 Update

This article mainly introduces how to use batch processing to create a folder with a date, which is very detailed and has a certain reference value. Friends who are interested must finish reading it!

Core code:

The code is as follows:

@ echo off md "Photo date:~0,4%%date:~5,2%"

The current date DATE:~0,4% is the year and DATE:~5,2% is the month

The above is all the contents of the article "how to create a folder with a date in batch processing". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Dates documents folders code content articles values interests guys buddies more core photos knowledge industry information information channels channels references help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Huawei Xiaomi vpn MariaDB