Main context menu of WHAT?
- of file type xyz?
- of folders?
- of Desktop and empty space of WindowsExplorer?

 

To add a new entry to the context menu of empty space, follow this steps.

That will open PSPad with a new, not yet created, 
text file at the place of launching the context menu.

 
(viz http://forentmp.lima-city.de/PSPad_NewTextFileHere.png )
 
Add this to the registry below of
"HKEY_CLASSES_ROOT\Directory\Background\shell"

Add a new key: NewTextFileHere
Add as (Default) of NewTextFileHere key: New PSPad Text file here

Add a new key below of NewTextFileHere: command
Add as (Default) of command key: D:\rive\path\to\PSPad\PSPad.exe "%V\New Text
file.txt"

 
This string can be adjusted as you want, to fulfill your needs:
NewTextFileHere
New PSPad Text file here
D:\rive\path\to\
New Text file.txt

 
If you have no admin rights, do this below of
HKEY_CURRENT_USER\Software\Classes\
instead of
HKEY_CLASSES_ROOT\

 
 
- - -
 
The above again as registry file:

NewTextFileHere.reg

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\NewTextFileHere\command]
@="D:\\rive\\path\\to\\PSPad\\PSPad.exe \"%V\\New Text file.txt\""



 

-- 
greets,     Stefan
[img]http://pspad.milten.lima-city.de/Fan.gif[/img]  (pleased user since 1722)
[url=http://tinyurl.com/52xrj]inofficial FAQs[/url] +  
[url=http://forum.pspad.com/read.php?2,16286,page=2]Infos[/url] + 
[url=http://forum.pspad.com/read.php?6,24628]Special Settings[/url]

<http://forum.pspad.com/read.php?2,61993,62074>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem