Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unzip files via PWZIP.EXE in Aspect script

Status
Not open for further replies.

yarondavid

Programmer
May 8, 2006
20
IL
I use a part of ASPECT script to unzip my zip files via PWZIP.EXE.
The uncompress action is work fine and all directories are unzipped but the files that are located in those directories are not extract so I didn't see the files after the uncompress action.

This is my part of script:

strfmt sCmdLine "%s %s`x01 %s`x01 -o" sPWZipPath pZipPath sTargetPath
run sCmdLine iRunTaskID ;Run PWZIP
while taskexists iRunTaskID ;Wait for PWZIP to finish
yield
endwhile

Moreover, can you please explain to me the command line:
sCmdLine "%s %s`x01 %s`x01 -o"
I don't understand what this mean `x01 %s`x01 -o
 
I'm fairly certain that Procomm's ZIP utility is DynaZip, so you might try looking around this website for more information:


As for the command line itself, I pulled that from one of the host scripts ages ago (it uses the zip executable to backup files). I assume it's just the proper format that pwzip requires to operate.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top