Batch file to create folder automatically on logon with the date as the file name?
I want to create a Batch file that creates a folder automatically on logon with the date as the file name.
开发者_运维知识库I want to create this folder every day to put my everyday stuff on it, so a folder with the date should be useful.
Write this command in a file mkdir %DATE%
and save it as name.bat
And to make it run each time computer boots do this
- Create a shortcut to the batch file.
- Once the shortcut has been created right-click the file and select Cut.
- Click Start, Programs, right-click the Startup folder and click Open
- Once the Startup folder has been opened click Edit and paste the shortcut into the startup. Any shortcuts in the startup folder will automatically start each time Windows starts.
精彩评论