in reply to Re: change directory in windows and extract the files from a .zip file inside the folder
in thread change directory in windows and extract the files from a .zip file inside the folder

Thanks, But my file is not zip or tar file. It is .caz file whihc uses command called cazipxp -u <filename> for extracting. when I am running the above command thru script it is extracting in the folder where I am executing the script but not to the new directory whihc I have created thru script. My .caz file is there in both parent and new directory. But I want to extract it in new directory. My .pl file is in parent directory. pls help

  • Comment on Re^2: change directory in windows and extract the files from a .zip file inside the folder

Replies are listed 'Best First'.
Re^3: change directory in windows and extract the files from a .zip file inside the folder
by roboticus (Chancellor) on Sep 12, 2012 at 10:57 UTC

    sreevno:

    But my file is not zip or tar file. It is .caz file

    2teez knows that. That's why the reply said:

    Please, modify the script below to suit your purpose

    Some effort is required on your part. Since 2teez provided you a skeleton program that changes directories and extracts files from an archive, it's assumed that you can find the code to extract from a .caz file and alter the code appropriately.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.