PB New File entry in Windows Explorer ContextMenu

Share your advanced PureBasic knowledge/code with the community.
User avatar
Thunder93
Addict
Addict
Posts: 1788
Joined: Tue Mar 21, 2006 12:31 am
Location: Canada

PB New File entry in Windows Explorer ContextMenu

Post by Thunder93 »

I'm frequently visiting New File entries in Windows Explorer ContextMenu and clicking on 'Text Document' to create file. Then giving a name and changing the extension type to PB.

It was okay but now I'm doing more work with PB. To eliminate unnecessary steps is a big improvement in my book.

Therefore I finally decided to take a minute from my busy schedule and add PB to the ShellNew list. Which makes it very convenient and saves little extra work over the long hall.

Even though lot knows about it, they probably didn't want to take a minute to do something about it...

This might be considered a silly convenience, but Its one I'm happy to be using, and to recommend.


--- PB_ShellNew.reg ---

Code: Select all

[REGEDIT4]

[HKEY_CLASSES_ROOT\PureBasic.exe]
@="PureBasic Include"

[HKEY_CLASSES_ROOT\.pbi\ShellNew]
"NullFile"=""

Edit: Forgot to mention. Once you import to registry, you'll have to re-boot to see the PB addition.
ʽʽSuccess is almost totally dependent upon drive and persistence. The extra energy required to make another effort or try another approach is the secret of winning.ʾʾ --Dennis Waitley