Do these 3 things before closing this tab:
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
1Fix the driver behind crashes, sound loss and screen glitches2Repair Windows errors before they cause bigger problems3Scan for outdated or missing drivers - takes under a minute
ThatPainter is reader-supported. When you buy through links on our site, we may earn an affiliate commission. Learn More
Microsoft Paint has a small command-line interface. Use mspaint to launch Paint, pass a quoted image path to open a file, or use the documented /p switch to print through the default printer. Paint does not provide a current, comprehensive command-line interface for resizing, format conversion, silent editing, or batch processing.
Quick command reference
| Command | What it does |
|---|---|
mspaint |
Launches Paint. |
mspaint.exe |
Launches the Paint executable or launcher. |
mspaint "C:Pathimage.png" |
Opens an image in Paint. |
start "" mspaint "C:Pathimage.png" |
Opens an image using the Windows start command. |
mspaint /p "C:Pathimage.png" |
Prints the image through the default printer. This syntax is documented by Microsoft Learn. |
mspaint /pt "Printer Name" "C:Pathimage.png" |
Legacy or community-reported print-to-printer syntax. Verify it on the target Windows build before relying on it. |
Launch Paint from Command Prompt or Run
Open Command Prompt or the Run dialog with Windows+R, then enter:
mspaint
If that is not recognized, try:
mspaint.exe
To see whether Windows can locate a matching command, run:
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →where mspaint
The result is not necessarily the stable physical location of the modern Paint implementation. Older installations commonly used C:WindowsSystem32mspaint.exe, while newer Windows versions may use a packaged Paint app with versioned files under WindowsApps. Use mspaint rather than hard-coding a version-specific path.
#1 Best Overall
- Battery-Free Pen: StarG640 drawing tablet is the perfect replacement for a traditional mouse! The XPPen advanced Battery-free PN01 stylus does not require charging, allowing for constant uninterrupted Draw and Play, making lines flow quicker and smoother, enhancing overall performance
- Ideal for Online Education: XPPen G640 graphics tablet is designed for digital drawing, painting, sketching, E-signatures, online teaching, remote work, photo editing, it's compatible with Microsoft Office apps like Word, PowerPoint, OneNote, Zoom, Xsplit etc. Works perfect than a mouse, visually present your handwritten notes, signatures precisely
- Compact and Portable: The G640 art tablet is only 2 mm thick, it's as slim as all primary level graphic tablets, allowing you to carry it with you on the go
- Chromebook Supported: XPPen G640 digital drawing tablet is ready to work seamlessly with Chromebook devices now, so you can create information-rich content and collaborate with teachers and classmates on Google Jamboard’s whiteboard; Take notes quickly and conveniently with Google Keep, and effortlessly sketch diagrams with the Google Canvas
- Multipurpose Use: Designed for playing OSU! Game, digital drawing, painting, sketch, sign documents digitally, this writing tablet also compatible with Microsoft Office programs like Word, PowerPoint, OneNote and more. Create mind-maps, draw diagrams or take notes as replacement for mouse
Open an image directly
Pass the image path after the command:
mspaint "C:Imagesphoto.png"
Relative paths work as well:
mspaint ".photo.png"
Always quote paths containing spaces:
mspaint "C:UsersAlexMy Picturesimage 01.png"
Without quotation marks, Command Prompt treats each space-separated part as a separate argument.
PowerShell
Start-Process mspaint -ArgumentList '"C:Imagesphoto.png"'
Batch file
Save this as open-in-paint.bat:
@echo off
if exist "%~1" (
mspaint "%~1"
) else (
echo File not found: "%~1"
)
Run it with:
open-in-paint.bat "C:Imagesphoto with spaces.png"
%~1 receives the first batch-file argument without its outer quotation marks; the script then quotes it again safely when invoking Paint.
Print an image with /p
Microsoft’s current Power Automate documentation demonstrates:
mspaint /p "C:PathToImage.png"
This launches Paint and sends the image through the default printer. It is the strongest currently documented Paint command-line printing option.
Rank #2
- Wacom Intuos Small Graphics Drawing Tablet: Enjoy industry leading tablet performance in superior control and precision with Wacom's EMR, battery free technology that feels like pen on paper
- Works With All Software: Wacom Intuos tablet can be used in any software program to explore new facets of digital creativity; draw, paint, edit photos/videos, create designs, and mark up documents
- What the Professionals Use: Wacom's industry leading pen technology and pen to paper feeling makes it the preferred drawing tablet of professional graphic designers
- Software and Training Included: Only Wacom gives you software with every purchase. Register your Intuos tablet and gain access to some of the best creative software and Wacom's online training
- Wacom is the Global Leader in Drawing Tablet and Displays: For over 40 years in pen display and tablet market, you can trust that Wacom to help you bring your vision, ideas and creativity to life
/p does not expose documented command-line controls for paper size, scaling, orientation, margins, or printer settings. Depending on the Windows release and Paint package, normal printing behavior or user-interface interaction may still occur. It should not be treated as a fully unattended printing API.
Batch-print example
@echo off
set "IMAGE=%~1"
if not exist "%IMAGE%" (
echo File not found: "%IMAGE%"
exit /b 1
)
mspaint /p "%IMAGE%"
Use it like this:
print-image.bat "C:Imagesreceipt.png"
Can Paint print to a specific printer?
/pt is commonly reported in Microsoft Q&A and older Windows guidance as a print-to-printer switch:
mspaint /pt "Printer Name" "C:Imagesphoto.png"
However, Microsoft’s current Learn example explicitly documents /p, not a complete modern /pt reference. Treat /pt as legacy and version-dependent. Test it on the exact Windows version and Paint installation you intend to automate. If selecting a printer and controlling print settings is important, use a dedicated printing utility, Windows print API, printer-vendor tool, or an automation platform instead.
Does Paint support /save, /resize, or conversion?
There is no current authoritative Microsoft command-line reference establishing switches for these operations:
Rank #3
- Word-first 16K Pressure Levels: The upgraded stylus features 16,384 levels of pressure sensitivity and supports up to 60 degrees of tilt, delivering smoother lines and shading for a natural drawing experience. With no battery or charging needed, it operates like a real pen, making it easy for beginners to create effortlessly. This functionality helps novice artists develop their skills and explore their creativity without the intimidation of complex tools
- Designed for Beginners: This drawing pad desinged with 8 customizable shortcuts for both right and left-hand users, express keys create a highly ergonomic and convenient work platform
- Perfectly Adapted for Android: The XPPen Deco 01 V3 art tablet supports connections with Android devices running version 10.0 and above. It is recommended to download the XPPen Tools Android application, which adapts to your smartphone's screen aspect ratio, ensuring accurate mapping. It also supports mapping on Android screens with different aspect ratios in portrait mode
- Large Drawing Space, Bigger Bold Inspiration: This expansive drawing pad has10 x 6.25-inch helps you break through the limit between shortcut keys and drawing area
- Easy Connectivity for Beginners: The Deco 01 V3 offers USB-C to USB-C connectivity, plus adapters for USB C. This ensures easy connection to various devices, allowing beginner artists to set up quickly and focus on their creativity without compatibility concerns. Whether using a laptop, tablet, or desktop, the Deco 01 V3 provides a seamless experience, making it an ideal choice for those just starting their digital art journey
| Requested operation | Current command-line status |
|---|---|
| Open an image | Supported by passing a file path. |
| Print to the default printer | Supported with documented /p behavior. |
| Print to a named printer | Legacy or community-reported /pt; verify locally. |
| Resize | No current authoritative Paint switch established. |
| Convert formats | No current authoritative Paint switch established. |
| Save under another filename or format | No current authoritative Paint switch established. |
| Process a folder in batch | Not a documented Paint command-line capability. |
| Silent editing | Not a documented Paint command-line capability. |
Commands such as these should not be presented as native Paint options unless verified for a particular executable build:
mspaint /convert input.png output.jpg
mspaint /resize 50 input.png
mspaint /save output.jpg
A Microsoft Q&A discussion about bulk image conversion likewise does not establish a native Paint command-line solution. External scripts can automate GUI actions, but that is different from Paint providing a supported switch.
Does mspaint /? show the options?
Do not assume that Paint has a help interface like robocopy /? or wt --help. No current Microsoft-published Paint command-line help table establishes /? or /help as a supported reference. A token being accepted or ignored by a packaged application is not proof that it is supported.
Free tools Windows power users keep installed
One-click scans. No signup required.
Windows 10 and Windows 11 differences
Older Windows releases used a more system-integrated version of Paint. Current Windows installations may use a modern packaged Paint app whose files, registration, and update behavior differ by release and package version.
Rank #4
- 【FOR DIGITAL ART & CREATION】-- Perfect for beginner who starts digital drawing, sketching, graphics design, 3D art work, animation, etc. Also meet basic use of professionals who requires portable feature especially during travel.【FOR ANNOTATING AND SIGNATURE】--You can sign and write in excel, word, pdf, ppt, etc.【FOR ONLINE MEETING & ONLINE CLASS】It works with most online meeting programs, like Zoom, and so on. 【FOR Osu! & GAMING】--It's a large help for playing rythm games like Osu!
- 【PASSIVE PEN】--Battery-free pen cuts the inconveneince of charging the pen. 【8192 HIGH LEVEL PEN PRESSURE & 4 CUSTOMIZABLE EXPRESS KEYS】It will provide you precise control and accuracy at your fingertips, to bring more natural lines and enhance creative performance. 4 customizable express keys could be set to more functions as you like. Using them while working will largely improve your work flow.
- 【COMPATIBILITY OR APPLICATION】-- It compatible with Windows 7 or later and macOS 10.12 or later. Noted: It is not compatible with ipad or iphone. Work with most art programs like Adobe Photoshop, Illustrator, Clip Studio, Lightroom, Sketchbook Pro, Manga Studio, CorelPainter, FireAlpaca, OpenCanvas, Paint Tool Sai2, Krita and so on.
- 【266 PPS REPORT RATE + 5080LPI RESOLUTION + 10MM PEN READING HEIGHT + 6.5*4 INCHES ACTIVE AREA】-- This size is more portable and lightweight, easy to be carried around in the laptop bag to the workplace, school, and travel. But it’s also big enough for digital painting, handwriting, playing games and animation design, etc.
- 【HUMANIZED DESIGN】-- 4 rubber feet are created to ensure the stability of the tablet from slipper. 【LEFT & RIGHT HANDED SUPPORT】--Set 180 degree roate inside GAOMON Driver to set left hand mode.
- Prefer
mspaintormspaint.exeover a hard-coded WindowsApps path. - Do not assume that an old classic Paint executable behaves exactly like the current app.
- Do not copy
mspaint.exefrom another Windows installation as a repair method; Microsoft Q&A reports that this is not a reliable Windows 11 fix. - Do not assume that multiple-file arguments behave consistently across Paint versions.
Troubleshooting
“mspaint is not recognized”
- Try
mspaint.exe. - Run
where mspaintto check whether Windows can locate it. - Try
mspaint.exefrom the Run dialog. - If Paint is missing or damaged, repair or reinstall it through Windows’ installed-app controls or supported organizational deployment tools.
Microsoft Q&A also shows this DISM capability command for some Windows configurations:
DISM /Online /Add-Capability /CapabilityName:Microsoft.Windows.MSPaint~~~~0.0.1.0
Use it only after confirming that it applies to your Windows edition and deployment policy. Administrator rights, internet access, component sources, and organizational restrictions may affect the result.
The image does not open
Check that the file exists and that the path is quoted:
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
if exist "C:Imagesphoto.png" (
mspaint "C:Imagesphoto.png"
) else (
echo File not found.
)
Also confirm that the installed Paint version can read the file format. The command line does not determine Paint’s format support.
Best Value
- Working Area Configuration - HUION art tablet equips with a 10 x 6.25 inches working area, providing the user with the most comfortable size to work; the 10mm slim structure and minimalist design of appearance make the drawing tablet more attractive.
- Tilt Function Battery-free Stylus: This computer graphics tablet come with a battery-free stylus PW100, no need to charge, allowing for constant uninterrupted drawing. ±60° tilt support enables imitation of lines input with diverse drawing gestures, with accuracy ensured.
- Press Keys:12 programmable press keys plus 16 programmable soft keys, you can set shortcut keys on drawing tablet's driver based on your preferences, such as erase, zoom in/out, scroll up and down, and so on.
- Compatibility: HUION graphics tablet supports Windows 7 or later/ macOS 10.12 or later/ Android 6.0 or later/ Linux (Ubuntu). A USB adapter is required to connect to a Mac computer. H1060P supports various mainstream design and drawing software, including PS, SAI, AI, CDR, etc. (Please note: The H1060P is compatible with Ubuntu, but it requires the use of the Xorg display server. Wayland is not supported.)
- NOTE: You can easily connect your phone to the art tablet via the OTG connector; while iPhone and iPad are NOT at the moment. The cursor will not show up in the SAMSUNG Galaxy S series at present. If you are not sure whether the product is compatible with your Phone or any help, please contact us.
Paint remains open after printing
Paint is a graphical application. Starting it successfully does not prove that printing has completed, and the command does not provide a reliable completion signal.
Microsoft’s automation example uses:
taskkill /IM "mspaint.exe"
A delayed version is:
timeout /t 3 /nobreak >nul
taskkill /IM mspaint.exe /T
Use this only in controlled automation. It can terminate every matching Paint process and discard unsaved work. It also does not guarantee that the printer has finished processing the job.
Multiple images
Do not rely on this syntax for predictable behavior:
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →mspaint image1.png image2.png
If several files must be opened, launch them separately or use an application designed for multi-file workflows.
What to use instead for automation
Use Paint when a person needs to open one image interactively or when the default-printer behavior of /p is sufficient. Choose another tool when the workflow must be repeatable, unattended, or scalable.
- Bulk conversion or resizing: use a dedicated command-line imaging tool, PowerShell image library, script, or imaging API.
- Deterministic printing: use Windows print APIs, a printer-vendor utility, a dedicated image-printing utility, or an automation platform.
- Hundreds or thousands of files: use a tool with documented noninteractive operations and meaningful error handling.
- Completion tracking: use a workflow that can report whether the image was saved or the print job was submitted; Paint’s process launch alone cannot provide that confirmation.
Microsoft’s own image-printing guidance also describes an alternative rundll32-based approach, which may be more suitable than relying on Paint when the workflow does not require Paint’s interface.
Bottom line
Paint’s useful command-line surface is small: launch it with mspaint, open an image by passing a quoted path, and print through the default printer with /p. Treat /pt as an unverified legacy option, and do not assume that /save, /resize, conversion, or batch-processing switches exist. For dependable unattended image work, use a dedicated imaging or printing tool.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallCrashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteQuick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




