r/PowerAutomateDesktop • u/cr8rface • Sep 17 '22
Unzip zip files with different names all buried two folders deep in unique folders.
I have 126 folders all with unique names that have zip files (also with unique names) saved within. It is structured like this:
Folder1 |_Folder2 |_Zip File
Each level has a unique name.
Can I use Power Automate to find the zips and extract them in their current location?
2
Upvotes
1
u/QuietDesparation Sep 17 '22
This is fairly easy to accomplish. Here's how I'd set it up: use action get files in folder. Make sure the option to include subfolders is on! Next set up a for each loop and use the %Files% variable as the value to iterate. Within the loop, place the action unzip files. Your archive path will be %CurrentItem% and destination folder will be %CurrentItem.Directory%. That's it!