Sign in with
Sign up | Sign in

Unzip command in batch file

Last response: in Windows XP
Share

Hi,
I have wrote a batch file that extract a zip archive in to c:\windows\system32\drivers. Here is the content of unzip.bat:

unzip patch1.3.zip -d C:\Windows\System32\drivers

but when I double click the unzip.bat file, a command window opens and infinitely write these:

D:\mahmood\Desktop\sample>unzip patch1.3.zip -d C:\Windows\System32\drivers
D:\mahmood\Desktop\sample>unzip patch1.3.zip -d C:\Windows\System32\drivers
D:\mahmood\Desktop\sample>unzip patch1.3.zip -d C:\Windows\System32\drivers
D:\mahmood\Desktop\sample>unzip patch1.3.zip -d C:\Windows\System32\drivers
D:\mahmood\Desktop\sample>unzip patch1.3.zip -d C:\Windows\System32\drivers
D:\mahmood\Desktop\sample>unzip patch1.3.zip -d C:\Windows\System32\drivers
D:\mahmood\Desktop\sample>unzip patch1.3.zip -d C:\Windows\System32\drivers
D:\mahmood\Desktop\sample>unzip patch1.3.zip -d C:\Windows\System32\drivers
D:\mahmood\Desktop\sample>unzip patch1.3.zip -d C:\Windows\System32\drivers
.......
.......

What is the problem?

mahmood said:
Hi,
I have wrote a batch file that extract a zip archive in to c:\windows\system32\drivers. Here is the content of unzip.bat:

unzip patch1.3.zip -d C:\Windows\System32\drivers

but when I double click the unzip.bat file, a command window opens and infinitely write these:

D:\mahmood\Desktop\sample>unzip patch1.3.zip -d C:\Windows\System32\drivers
D:\mahmood\Desktop\sample>unzip patch1.3.zip -d C:\Windows\System32\drivers
D:\mahmood\Desktop\sample>unzip patch1.3.zip -d C:\Windows\System32\drivers
D:\mahmood\Desktop\sample>unzip patch1.3.zip -d C:\Windows\System32\drivers
D:\mahmood\Desktop\sample>unzip patch1.3.zip -d C:\Windows\System32\drivers
D:\mahmood\Desktop\sample>unzip patch1.3.zip -d C:\Windows\System32\drivers
D:\mahmood\Desktop\sample>unzip patch1.3.zip -d C:\Windows\System32\drivers
D:\mahmood\Desktop\sample>unzip patch1.3.zip -d C:\Windows\System32\drivers
D:\mahmood\Desktop\sample>unzip patch1.3.zip -d C:\Windows\System32\drivers
.......
.......

What is the problem?


Hi mahmood insatll unzip.exe
please send mail to this if any issues with unzip command Nikil1229@gmail.com


thanks,
Nikhil@photon

Ask the community
!