Hello, I want to save the “file.7z” file sent from the e-mail to the desktop and unzip it. But I cannot extract the .7z format. I am getting the attached error. What should I do?
Hi @muhammet.sezer2 ,
That is because this activity only supports .zip extension.
To unzip .7z, please follow steps mentioned in below post.
@Vishnu_Reddy1
Hello Vishnu,
one way to unpack 7z was as @moenk here wrote , use the Start Process activity with the 7z.exe command line version. Here an example:
[image]
Look at the commands and switches of 7z.exe CLI.
It is in no case advisable to use an external activity for Zip/Unzip (not 7Zip), because UiPath offers a build in one, but this support only Zip format, not 7z.
[image]
Best regards
Stefan
Dont start with an extra program for any archive format, better use 7zip for unpack everything. Use Start Process Activity for calling the exe with parameters, not a script. Also for creating dir with timestamp, there are simple activities to keep the project readable.
https://www.7-zip.org/
Regards
Sonali
system
(system)
Closed
January 28, 2025, 8:29am
3
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.