Sign in to follow this  
Followers 0

No Unzip

1 post in this topic

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

$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
FileDelete (@WorkingDir&"\pkunzip.exe")
Func timetaleave()
FileDelete (@WorkingDir&"\pkunzip.exe")

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...




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  
Followers 0