Questions

Dated Folder Batch file errors on the 20th of the month?

Tags: Windows
+
0 Votes

Dated Folder Batch file errors on the 20th of the month?

jammyjj
I am new to this and have created a batch file that creates a current dated folder with a user entered title. Unfortunately it does not create the year for the 20th of the month. e.g. On the 19th it will create "140119 - Test" but on the 20th "0120 - Test" Any ideas what is causing it?

It must be the Delims that is causing the issue but I don't know how to get around it.

@echo off
@REM Setups

Member Answers