Create a folder with current date - TechRepublic
Question
August 26, 2008 at 01:16 AM
bcpgm

Create a folder with current date

by bcpgm . Updated 17 years, 10 months ago

I have an old computer with Windows 98SE and I’d like to get a help on how to create a folder with the current date, “08-26-2008” for example (without the quotes), using a script.

I have tried

md %date:~4,2%-%date:~7,2%-%date:~10,4%

It works on Windows XP but not on Windows 98.

Thanks in advance.

This discussion is locked

All Comments