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

By jammyjj ·
Tags: Windows
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

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Back to Windows Forum
2 total posts (Page 1 of 1)  

Operating Systems Forums