Wednesday, April 7, 2010

Create a folder mm.dd.yyyy in dos command or in batch file

Create a folder mm.dd.yyyy in dos command or in batch file

echo on

::variables

set folderdate="%date:~4,2%.%date:~7,2%.%date:~10,4%"

mkdir c:\%folderdate%

PAUSE




--
Rajeev Kumar

No comments: