Jump to content
Sign in to follow this  
Somerset

No Unzip

Recommended Posts

Somerset

how many times have you ever worked on a puter and you forgot to bring along a unzipping program. that or the owner of the puter doesn't own one... lol here is s stupid script for ya..

FileInstall ( "pkunzip.exe", @WorkingDir&"\pkunzip.exe",1 )
$i = 0
While $i = 0
    If FileExists(@WorkingDir&"\pkunzip.exe") Then Exitloop
WEnd

$a = FileOpenDialog ( "Unzip", @WorkingDir, "Zip file (*.zip)",1)
If @error Then timetaleave ()

$b = $a
$c = StringTrimRight($b, 4)
$d = FileGetShortName ($a)
$e = FileGetShortName ($c)
run(@ComSpec&" /c pkunzip.exe -d -o "&$d&" "&$e)
$j = 0
While $j = 0
    If FileExists($e) Then Exitloop
WEnd
FileDelete (@WorkingDir&"\pkunzip.exe")
exit
Func timetaleave()
FileDelete (@WorkingDir&"\pkunzip.exe")
exit
EndFunc

be sure to grab pkunzip 2.50 version for dos.. that is what this is meant for... this thing does work. next thing to work on is that annoying extract for cab files...


 

Spoiler

shoot_zpsfd329d66.png
dontbelieveeverythingyouthink_zps0e1e900

Madness is the first step to understanding...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.