'Extract File with no extension via 7-zip through Powershell
Solution 1:[1]
@zett42 fyi 7zip removed 7za, just 7z is the cmdline tool now.
@Nandan, just replace the folder path below with your folder path
get-childitem c:\temp\ -File -Filter *. | %{& 7z e $_.FullName}
Or if you place the script in the same folder:
get-childitem $PSScriptRoot -File -Filter *. | %{& 7z e $_.FullName}
Note: You'll need to add 7zip to your Path variable as well, alternatively just reference the full path to the 7z exe e.g. "C:\Program Files\7-Zip\7z.exe"
edit2: If you want to stick with windows only do the below.
get-childitem $PSScriptRoot -File -Filter *. | %{Expand-Archive $_.FullName}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |


