Open with -> Associated editor (F4) , not allowing MsPaint.exe as editor in Windows-11.

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

User avatar
WiseView
Posts: 2
Joined: Sun Jun 09, 2024 12:09 pm

Open with -> Associated editor (F4) , not allowing MsPaint.exe as editor in Windows-11.

Post by WiseView »

I want to use MsPaint as my editor.
The MsPaint.exe file is located in C:\Users\MyUserName\AppData\Local\Microsoft\WindowsApps\
When I try to select it, I get a message saying that “The file cannot be accessed by the system” :x
I am able to add GIMP (C:\Program Files\GIMP 2\bin\gimp-2.10.exe) as a software to open my images, but I want MsPaint. :(
Please, help!!! Thanks :wink:
Last edited by WiseView on Sun Jun 09, 2024 6:45 pm, edited 1 time in total.
User avatar
user0
XnThusiast
Posts: 1850
Joined: Sat May 09, 2015 9:37 am

Re: Open with -> Associated editor (F4) , now allowing MsPaint.exe as editor in Windows-11.

Post by user0 »

It's [system] associated editor, so in order to use F4 in XnViewMP
you need to set MSPaint as an Editor in the registry for each file type you want to edit, eg:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\SystemFileAssociations\.bmp\Shell\Edit\command]
@="\"C:\\Users\\<YOUR_USER_NAME>\\AppData\\Local\\Microsoft\\WindowsApps\\mspaint.exe\" \"%1\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.gif\Shell\Edit\command]
@="\"C:\\Users\\<YOUR_USER_NAME>\\AppData\\Local\\Microsoft\\WindowsApps\\mspaint.exe\" \"%1\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.jpg\Shell\Edit\command]
@="\"C:\\Users\\<YOUR_USER_NAME>\\AppData\\Local\\Microsoft\\WindowsApps\\mspaint.exe\" \"%1\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.png\Shell\Edit\command]
@="\"C:\\Users\\<YOUR_USER_NAME>\\AppData\\Local\\Microsoft\\WindowsApps\\mspaint.exe\" \"%1\""
add_image_Edit_command_mspaint.zip
You do not have the required permissions to view the files attached to this post.
Last edited by user0 on Wed Aug 07, 2024 7:43 am, edited 1 time in total.
User avatar
WiseView
Posts: 2
Joined: Sun Jun 09, 2024 12:09 pm

Re: Open with -> Associated editor (F4) , not allowing MsPaint.exe as editor in Windows-11.

Post by WiseView »

Thank you very much user0