DOS batch file set variable (number of files in a zip)
$10-30 USD
In corso
Pubblicato quasi 7 anni fa
$10-30 USD
Pagato al completamento
the output of UNZIP on the final line is for example "5 files".
Been trying to get the result of "5" via "set NUMFILES =" using UNIX utilities for DOS such as grep and awk. Perhaps there is another way to do it. What I tried was:
set NUMFILES=unzip -l [login to view URL] | grep files | awk '{print $2}'
Do you have a way to get number of files in a zip file to a variable
looking for a low cost solution and price and fast result is what is hopped for . under $20
There are several solution for this.
Is it really DOS in question or Windows command prompt?
I can give solution for both, but the right one depends on your answer.