You are not logged in.
Hello everyone
I need a code that searches through a lot of zip files a specific file that I will give from keyboard like e.g ( *code1*.txt) and will appear the zip files that icludes the specific file.
Can anyone help me with that ????
Offline
Offline
npocmaka thank you so much for your time and reply ,
I managed to insert the filename I want to search from keyboard but how can I make it search through a variety of zip files in the same directory ?
I tried call zipjs.bat list -source "C:\*.zip" -flat yes | findstr /i /e "%fname%" but i doesn't work
Offline
npocmaka thank you so much for your time and reply ,
I managed to insert the filename I want to search from keyboard but how can I make it search through a variety of zip files in the same directory ?
I tried call zipjs.bat list -source "C:\*.zip" -flat yes | findstr /i /e "%fname%" but i doesn't work
zipjs does not supports wild cards.
You rather need:
for /r "c:\rootDir" %%# in ("*.zip") do (
call zipjs.bat list -source "%%#" -flat yes | findstr /i /e "%fname%"
)
Offline
Perfect !!!!
That worked perfectly !!!! Thanks again npocmaka !!!!
Offline