I'm trying to open an image in MS Paint 3D from Powershell. This is a working command in CMD:
mspaint "D:\124.jpg" /ForceBootstrapPaint3D
The following is what I think should work in Powershell:
Start-Process -FilePath "$env:comspec" -ArgumentList "/c mspaint `"D:\124.jpg`" /ForceBootstrapPaint3D"
Against my expectation, it opens the image in the old MS Paint, which I'd prefer not to work with. I think the flag /ForceBootstrapPaint3D is being ignored here. What is the proper way to get it recognized?