G
Guest
I am trying to delete files from the archive directory that are 1 week old.
Once a week I will copy the files from the current directory to the archive
directory that are less than 1 week old. After the files are copied to the
archive directory, I will delete all files from the current directory.
del \\a\storage\archive\*.*
xcopy \\a\storage\archive\*.* /d[date_last_Week]
del \\a\storage\*.*
I would like to write the [date_last_Week] value to a file and later read
this value back from the file once a week.
My goal is copy files to an archive directory once a week and delete all
files in the
\\a\storage\*.*
Please help me complete this task.
Once a week I will copy the files from the current directory to the archive
directory that are less than 1 week old. After the files are copied to the
archive directory, I will delete all files from the current directory.
del \\a\storage\archive\*.*
xcopy \\a\storage\archive\*.* /d[date_last_Week]
del \\a\storage\*.*
I would like to write the [date_last_Week] value to a file and later read
this value back from the file once a week.
My goal is copy files to an archive directory once a week and delete all
files in the
\\a\storage\*.*
Please help me complete this task.