Windows batch script to create directory name DDMMYYYY
Many times I had to create directories with date as name for different purposes. I made this batch script to make that task easy. This is handy to keep all work of a particular day in its own folder. The following batch script will create directory of name format DDMMYYYY in the current path.
|
|
Copy and paste this code into a file with extension bat and save it into a path where you want to create the directory. Double click on the batch file to create the current day’s directory.
You can also download the batch file from here. You can safely download it, it is hosted in safe server of HostGator.
In the next post I will post the batch script for creating directory names with DDMONYYYY format. It will be pretty advanced which uses temporary javascipt and batch file. See the post here.
For those who are new to windows batch files, visit this site by Microsoft.