You are here: PSPad forum > English discussion forum > create a new entry in the main contextual menu : a new txt file
Posted by: Esgrimidor | Date: 2014-02-19 12:35 | IP: IP Logged
I am trying with lopesoft tools to create an entry in the main contextual menu to create a new pspad txt file. That is create an icon with an empty txt file.
How can i do that.
I think is with a command line or something like that .
By example :
pspad is installed in
c:\program files(86)\pspad
to launch the program the command line is
c:\program files(86)\pspad\pspad.exe
But if i only want to create in the windows explorer an icon representing an empty txt file.... How can i do ?
What is the command ?
Best Regards
--
Nice program indeed
Posted by: pspad | Date: 2014-02-19 13:23 | IP: IP Logged
path\PSPad.exe NewFile.txt
Posted by: Esgrimidor | Date: 2014-02-19 15:49 | IP: IP Logged
Running to try
--
Nice program indeed
Posted by: Esgrimidor | Date: 2014-02-19 16:04 | IP: IP Logged
I am trying this, but don't find the file :
Y:\PORTABLES\DESARROLLO\psPAD.developer.08.2013\PSPad.exe NewFile.txt
also
"Y:\PORTABLES\DESARROLLO\psPAD.developer.08.2013\PSPad.exe" NewFile.txt
Y:\PORTABLES\DESARROLLO\psPAD.developer.08.2013\PSPad.exe "NewFile.txt"
but always the same message
In Lopesoft i even try the initial folder value :
Y:\PORTABLES\DESARROLLO\psPAD.developer.08.2013
but the error message continues.
Best regards.
i can put screenshots if needed.
--
Nice program indeed
Posted by: pspad | Date: 2014-02-19 16:23 | IP: IP Logged
I don't understand. When I run PSpad with nonexisting file as parameter, PSPad opens new file with this name.
Try to run it from the command line first.
Posted by: Stefan | Date: 2014-02-20 19:29 | IP: IP Logged
Hi Contro,
Esgrimidor:But if i only want to create in the windows explorer an icon representing an empty txt file.... How can i do ?
There is already a WinExpl context menu entry "New > Text file"
As additon, you can assign PSPad to open TXT files instead the default Notepad.
Just utilize "PSPad > Settings > Program Settings... > System Integretion > [X] Open TXT files"
--
Stefan (pleased user since 1722)
Do you know you can spend Jan a beer? (click here)
Inofficial FAQs + Infos + Special Settings
Posted by: Esgrimidor | Date: 2014-02-25 17:24 | IP: IP Logged
pspad:I don't understand. When I run PSpad with nonexisting file as parameter, PSPad opens new file with this name.
Try to run it from the command line first.
May be. I'll try and comment. But then may be not useful if a command line parameter don't go en lopesoft.....
--
Nice program indeed
Posted by: Esgrimidor | Date: 2014-02-25 17:27 | IP: IP Logged
Stefan:Hi Contro,Esgrimidor:But if i only want to create in the windows explorer an icon representing an empty txt file.... How can i do ?There is already a WinExpl context menu entry "New > Text file"
As additon, you can assign PSPad to open TXT files instead the default Notepad.
Just utilize "PSPad > Settings > Program Settings... > System Integretion > [X] Open TXT files"
yes i am contro. How do you know that ?
Yes. But from the beginning the target is create a new txt file from the main contextual menu, not from the new submenu from the main contextual menu.....
I began to think is an impossible matter......
--
Nice program indeed
Posted by: pspad | Date: 2014-02-25 19:20 | IP: IP Logged
Esgrimidor:pspad:I don't understand. When I run PSpad with nonexisting file as parameter, PSPad opens new file with this name.
Try to run it from the command line first.May be. I'll try and comment. But then may be not useful if a command line parameter don't go en lopesoft.....
It isn't problem of Lopesoft or PSpad but your. I downloaded Lopesoft file menu tool and add new entry (see the screenshot). It works without any problem and PSPad starts with new.txt file
Posted by: Stefan | Date: 2014-02-25 19:58 | IP: IP Logged
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.
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]
@="New PSPad Text file here"
[HKEY_CLASSES_ROOT\Directory\Background\shell\NewTextFileHere\command]
@="D:\\rive\\path\\to\\PSPad\\PSPad.exe \"%V\\New Text file.txt\""
--
Stefan (pleased user since 1722)
Do you know you can spend Jan a beer? (click here)
Inofficial FAQs + Infos + Special Settings
Edited 1 time(s). Last edit at 2014-02-25 19:59 by Stefan.
Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR