Sedang Disiapkan

DOS batch file set variable (number of files in a zip)

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 [url removed, login to view] | 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

Kemahiran: DOS, Shell Script

Tentang Klien:
( 49 ulasan ) Lyndhurst, United States

ID Projek: #13916054

Dianugerahkan kepada:

jperusan

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.

$15 USD dalam sehari
(4 Ulasan)
2.1

2 pekerja bebas membida secara purata $18 untuk pekerjaan ini

Ranajoyfreelance

Dear Hiring Manager, I have read your JOB post and I got it what you want to develop.I HAVE GOOD EXPERIENCE TO WORKING WITH FOLLOWING SKILLS like php, html, SEO, mysql, MVC,SQL server,JQUERY,API a Lagi

$20 USD dalam sehari
(1 Ulasan)
2.8