July 8, 2016 at 11:21 am
Hi Folks,
I am having problem in overwriting the existing files through Process Task.
I tried with below steps :
Step 1:
Argument: "e "+ "-o+ "+ "C:\Folder\test.zip"
Executable:"C:\Program Files\7-Zip\7z.exe"
working directory: the folder where I would want to overwrite the files.(C:\Folder\Project\)
This would create a folder with "+" in C:\Folder\Project\ and then unzip the files. But I want to overwrite existing files in C:\Folder\Project\.
Step 2:
Argument: "x" +“C:\Folder\test.zip” +" -o+ " + "C:\Folder\Project\"
Executable:"C:\Program Files\7-Zip\7z.exe"
This will not unzip the files at all. The process just executes and finishes.
But If I try with "x" +“C:\Folder\test.zip” +" -o " + "C:\Folder\Project\", then the files get unzipped without issues. Next time I try to unzip it asks manually whether we have to overwrite or not. I do not want this and want just to overwrite files without asking.
Can anyone of you help me in understanding where am I going wrong?
July 8, 2016 at 11:49 am
Maybe you could try using Overwrite Mode when doing the extraction.
The absence of evidence is not evidence of absence.
Martin Rees
You can lead a horse to water, but a pencil must be lead.
Stan Laurel
July 8, 2016 at 12:31 pm
thank you very much.. it is working for me now with "x"+ "c:\folder" +"-aoa" 🙂
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply