I use 7-Zip in Windows Sandbox so the associations are missing every time I start. I can go to 7-Zip > Tools > Options > Press the "+" button to associate, and then go to the Options > 7-Zip tab and check "Integrate 7-Zip in shell context menu", but it's annoying to have to do that every time. I would be so grateful if there was a way to automatically (ideally in PowerShell) invoke 7-Zip to make it a) apply all supported associations, and b) add the shell context menu. This would be really appreciated...
I use 7-Zip in Windows Sandbox so the associations are missing every time I start. I can go to 7-Zip > Tools > Options > Press the "+" button to associate, and then go to the Options > 7-Zip tab and check "Integrate 7-Zip in shell context menu", but it's annoying to have to do that every time. Please please, is there a way for me to automatically (ideally in PowerShell) invoke 7-Zip to make it a) apply all associations, and b) add the shell context menu, this would be really appreciated.