Hey, i have created a batch file which copy the data of one folder into another. But after copying i want to give the particular date as a folder name. I am not able to. Please give your suggestions.
This is my code.
@echo off
:: variables
echo Backing up file
set /P source=Enter source folder:
set /P destination=Enter Destination folder:
set listfile=xcopy /L
set xcopy=xcopy /S/E/V/Q/F/H
%listfile% %source% %destination%
echo files will be copy press enter to proceed
pause
%xcopy% %source% %destination% %date%
pause