I wan't a bat file that will create folders with the current date. How do i do it. Also the created folders should have the default name of the computer's user name followed by date. Can this be possible made? Help! Thanks
I wan't a bat file that will create folders with the current date. How do i do it. Also the created folders should have the default name of the computer's user name followed by date. Can this be possible made? Help! Thanks
Use your parameters whatever and wherever necessary, use this syntax
This just do your work fine... All the best!Code:md %username%%date%
Hey thanks for the quick response, I just tried it but it game be an error saying :So i tried this in dosCode:The syntax of the command is incorrect.and i got the outputCode:echo %date%But in folder and file name "/" is not allowed. So any way to change the "/"to" -"? Please help!Code:Sat 06/20/2009
That is easy. Go to Control Panel > Regional and Language Options > Customize > Date. There at the bottom there will be date seperator shown as "/" Just change this to "-" and you are done. All the best!
Bookmarks