I save Files In my file folder like adb.exe, fastboot.exe And some scripts like reboot-bootloader.bat and many more. I want to zip them but I want to sure before zip them, all files are present or not if anyone missing then zip task abort.
but it is not possible to write all of them in each and every single line. I'm looking for something one command like just put files name on that command that check and tell which file missing if not missing then run my zip command.
I'm try if statement like this:-
if exist <.\files\filename.*> ( echo file present. ) else ( echo file is missing. )
Aucun commentaire:
Enregistrer un commentaire