This will show you how to set the date in variables.
The rest just uses copy / xcopy for this folder :)
Tell me if you need to work out more how to do it.
Hooray!
[EDIT]: Here is the complete solution:
Create a file using notepad -> save as "something.bat" OR using CMD -> copy con something.bat (and as soon as you're done, press Ctrl-Z) And paste the following code:
@echo off IF "%1"=="" GOTO MissingArgument for /f "tokens=2-4 delims=/ " %%a in ('date /T') do set year=%%c for /f "tokens=2-4 delims=/ " %%a in ('date /T') do set month=%%a for /f "tokens=2-4 delims=/ " %%a in ('date /T') do set day=%%b set TODAY=%month%%day%%year% md %TODAY% MOVE %1\*.* %TODAY% GOTO end :MissingArgument echo Incorrect Syntax: Source Folder Name Required! :end
Hope this helps!
source share