• Post Reply Bookmark Topic Watch Topic
  • New Topic

code unzip file

 
aof human
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want unzip on aix. i don't know code !

on window code :

Runtime.getRuntime().exec("C:\\Program Files\\Winzip\\winzip32 -e -o D:\\test.zip D:\\TEST");


i want code on aix.
thank you.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65522
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"aof human", you have previously been warned on one or more occasions regarding adjusting your display name to meet JavaRanch standards. This is not optional. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it prior to your next post.

Your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Be aware that accounts with invalid display names are disabled.

bear
JavaRanch Sheriff
 
tuty sra
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
you can use
Runtime.getRuntime().exec("/usr/bin/unzip /location/zipfilename -d /dir")
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!