@echo OFF
set map="C:\Documents and Settings\Coolsaet Aswin\Bureaublad"
echo %date%
echo even geduld aub...
md "c:\%date%"
xcopy %map% "c:\%date%" /e/y >nul
pause
This is a TEST bat file.
%date% is an variable of windows -> type in command "echo %date%" --> response: "do 19/06/2003"
Now he make a map "do 19" and as submap "06" and subsublap "2003"
file are copied in the subsub 2003 map.
Is there an other way the make a folder with the name ofthe date.
like 2003-06-19 do or 2003 06 19 do "-" are allowed for folder names
set map="C:\Documents and Settings\Coolsaet Aswin\Bureaublad"
echo %date%
echo even geduld aub...
md "c:\%date%"
xcopy %map% "c:\%date%" /e/y >nul
pause
This is a TEST bat file.
%date% is an variable of windows -> type in command "echo %date%" --> response: "do 19/06/2003"
Now he make a map "do 19" and as submap "06" and subsublap "2003"
file are copied in the subsub 2003 map.
Is there an other way the make a folder with the name ofthe date.
like 2003-06-19 do or 2003 06 19 do "-" are allowed for folder names