开发者

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

  1. Create a shortcut to the batch file.
  2. Once the shortcut has been created right-click the file and select Cut.
  3. Click Start, Programs, right-click the Startup folder and click Open
  4. 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.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜