Im using 7zip
I want to extract a couple of ZIP files to different places and this should happen automatically without my intervention.
But sometimes the archives is not in place (reason not necessary) and then I get the error message "Can not find archive". This error I have to manually press OKAY
Is there any command that can bypass or press YES to the question?
7zip - Cannot find archive
Moderator: DosItHelp
Re: 7zip - Cannot find archive
Use if exist to only perform the action if the file is there. Similar to this:
Code: Select all
if exist "file.7z" "c:\program files\7-zip\7z.exe" x "file.7z"