Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, June 12, 2018 12:27 PM
Hi,
I am working on program that would open Paint 3D with a specific image as background.
System.Diagnostics.Process paintProcess = new System.Diagnostics.Process();
paintProcess.StartInfo.FileName = "Shell:AppsFolder\Microsoft.MSPaint_8wekyb3d8bbwe!Microsoft.MSPaint";
paintProcess.StartInfo.Arguments = imgFiltePath + "\background.bmp";
It will open the app without the background. If I change from "Shell:AppsFolder\Microsoft.MSPaint_8wekyb3d8bbwe!Microsoft.MSPaint" to "System.IO.Path.Combine(Environment.SystemDirectory, "mspaint.exe")", it will work on regular mspaint with the background.bmp for me to edit.
Any help would be appreciated!
Thanks
Tako
All replies (4)
Wednesday, June 13, 2018 6:26 AM
Hi,
What I can tell is to open 3D paint using powershell command, however as how to open with a specific image, you have to contact Script Center to help you create a batch file.
Open 3D paint using powershell command line:
start shell:appsfolder\Microsoft.MSPaint_8wekyb3d8bbwe!Microsoft.MSPaint
https://social.technet.microsoft.com/Forums/scriptcenter/en/home?category=scriptingThe reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Friday, October 5, 2018 6:02 PM
To open a file from CMD with Paint 3D
start ms-paint:"C:\Full\Path\File.bmp"
Hope this helps!
@CharlestonGeek
Tuesday, April 23, 2019 12:38 AM
It doesn't seem to work :S.
It starts a new Paint3D project.
Friday, April 26, 2019 1:20 PM | 1 vote
Hi,
I found a way to open an image with Paint 3D
mspaint "C:\Users\xxx\Desktop\xxx.png" /ForceBootstrapPaint3D
: )