Forum

DOS/Batch file, cre...
 
Notifications
Clear all

DOS/Batch file, create folder with date in format yyy-mm-dd

1 Posty
1 Users
0 Reactions
2,073 Widok
0
Topic starter

DOS/Batch file, create folder with date in format yyy-mm-dd

1 Answer
0
Topic starter

for format yyy-mm-dd use

for /f "tokens=1-3 delims=/" %%a in ("%date%") do md "%%a"

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: