firstnas.blogg.se

Can a winrar zip archive be deleted
Can a winrar zip archive be deleted




  1. CAN A WINRAR ZIP ARCHIVE BE DELETED ARCHIVE
  2. CAN A WINRAR ZIP ARCHIVE BE DELETED FREE

CAN A WINRAR ZIP ARCHIVE BE DELETED ARCHIVE

REM Move each file in the archive directory that is older than one week into a ZIP archive.įOR %%A IN (D:\Agentrics\integration\download\archive\*.txt*, D:\Agentrics\integration\download\archive\*.cpi*) DO "C:\Program Files\WinRAR\WinRAR.exe" m -afzip -ep -inul -to7d -y "D:\Agentrics\integration\download\archive\%%~nA.zip" "%%A" REM Move files older than 2 days from the incoming directory to the incoming archive directory. Or is is there a command to break the script if the files did not get zipped? I just want to zipp the files first and then delete the original ones How can i link those two commands so that if some reason the files did not get zipped they should also not get deleted. One is for zipping the files older than a week and the other one is deleting the original files after they are zipped. Question 2: I have two seprate command in the script above.

CAN A WINRAR ZIP ARCHIVE BE DELETED FREE

I am using the free version of WinRAR and its not expired Because of this message the scripts stops until i click on the close button of the dialogue box. For example if there are files in the incoming directory that are not older than two days i get this message."WinRAR Diagnostic messages: No File To Add". When i run the script i get WinRAR diagnostic messages for some files. REM Delete Original files after they are zippedįorfiles /p D:\Agentrics\integration\download\archive /s /m *.txt* /d -7 /c "cmd /c del /q /p D:\Agentrics\integration\download\archive /s /m *.cpi* /d -7 /c "cmd /c del /q Delete files that are older than 6 months from the archive directoryįorfiles /p D:\Agentrics\integration\download\archive /s /m *.zip* /d -180 /c "cmd /c del /q 1: REM Zip files in the Archieve directory that are older than one weekįOR %%A IN (D:\Agentrics\integration\download\archive\*.txt*, D:\Agentrics\integration\download\archive\*.cpi*) DO "C:\Program Files\WinRAR\WinRAR.exe" a -r -to7d D:\Agentrics\integration\download\archive\"%%~nA.zip" "%%A" Robocopy D:\Agentrics\integration\download D:\Agentrics\integration\download\archive /MOV /MINAGE:2 REM move files older than 2 days from the incoming directory to the incoming archive directory

can a winrar zip archive be deleted

I have a batch script that does the following OFF






Can a winrar zip archive be deleted