Start>Run doesn't launch desired exe despite PATH

1

On Windows 10 I use the old (WinXP) pbrush.exe instead of the new "ribbon UI" version (never mind why; that is not the question). I had to obtain the old exe from an XP image and keep it in a separate folder, since if I replace the primary version then it periodically gets reverted by Windows File Protection.

I want the command "pbrush" to launch my XP version and not the Win10 version. So I tried adding the extra folder to my PATH system variable. That works from a command prompt, but for some reason it doesn't work from the Start>Run box (the one that appears when you press WinKey+R); that Run box still launches the Win10 pbrush. Why is that, and how can I fix it?

equin0x80

Posted 2018-05-11T18:42:37.443

Reputation: 13

1Try renaming the Windows 10 version of pbrush.exe to something else – wysiwyg – 2018-05-11T18:45:40.290

EDIT: I actually can't find a pbrush.exe here, and I've only used mspaint in the past. Perhaps it's an alias or something? – wysiwyg – 2018-05-11T18:55:07.060

wysiwyg: I don't believe this will help because, as I stated, Windows File Protection periodically restores things to how they were. I suppose I should just choose another filename to use, but it seems stupid that I can't fully control my own computer any more. – equin0x80 – 2018-05-12T21:53:05.603

By the way, I think there might be some special cases in the guts of Windows that associate certain old names with new names, like "mspaint/pbrush" and "write/wordpad". I can't source it but I feel as though I've read this somewhere -- it might perhaps have been Microsoft's Raymond Chen (of the "Old New Thing" blog). – equin0x80 – 2018-05-12T21:55:50.703

Answers

0

You can directly put a shortcut (.lnk file) to your executable under: %APPDATA%\Microsoft\Windows\Start Menu.

That should be enough, however, it may be that it cannot overwrite default names, so you would have to change "Paintbrush" to something else like "PaintbrushXP".

T Nierath

Posted 2018-05-11T18:42:37.443

Reputation: 389

Thanks for the suggestion, but this doesn't seem to work. – equin0x80 – 2018-05-12T21:52:21.490

Ah, I misread your question. You actually don't have to use Win+R for launching a program. With my solution you just press the Win Key and directly enter the program/link name. – T Nierath – 2018-05-13T04:19:08.030

I don't want to do that because Winkey+R works instantly, but Winkey alone (opening Start menu) is very slow. My computer is old and it's important to me that I can work very quickly. – equin0x80 – 2018-05-19T03:10:34.790

I see. You could try Launchy. It's old, but should still work after some adjustments, or maybe creating a Hardlink mklink /H to change the programs name could work? Hope something works out for you. – T Nierath – 2018-05-19T04:23:10.993