Skip to content
WJunction - Webmaster Forum

[BATCH] Easy Download & UnZIP/UnRAR

Status
Not open for further replies.
This example show how to download a file in batch, and unzip or unrar it.
Again this example uses external executables.

Code Download + UnZIP:
Code:
@echo off
wget.exe http://l0calh0st.ws/wjcleaner_source.zip
unzip wjcleaner_source.zip
pause
(This code uses the standard Windows unzip function.)

Code Download + UnRAR:
Code:
@echo off
wget.exe http://l0calh0st.ws/wjcleaner_source.zip
unrar.exe wjcleaner_source.zip
pause
(This code uses an external executable from www.rarlab.com.)

Download files:
http://l0calh0st.ws/batch/wget.exe
http://l0calh0st.ws/batch/unrar.exe
 
Status
Not open for further replies.

About the author

L
Active Member · Joined
4,052
Messages
713
Reactions
113
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom