Help to create button

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
LeoLUG
Junior Member
Junior Member
Posts: 17
Joined: 2020-05-22, 15:24 UTC

Help to create button

Post by *LeoLUG »

Hi, how I create a button to open a specific file with notepad++?
the file is let say: c:\test\1.json
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3862
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: Help to create button

Post by *sqa_wizard »

Just drag and drop your notepad++.exe file at the button bar
=> This creates a button to start notepad++.
Next edit this button and put "c:\test\1.json" at the parameter field.
#5767 Personal license
User avatar
Dalai
Power Member
Power Member
Posts: 9388
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Help to create button

Post by *Dalai »

Another solution:

Code: Select all

TOTALCMD#BAR#DATA
D:\rive\path\to\Notepad++\notepad++.exe
c:\test\1.json
D:\rive\path\to\Notepad++\notepad++.exe
Notepad++

0
-1
Paste this code onto a free space of the button bar and then change the paths to Notepad++ afterwards.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
LeoLUG
Junior Member
Junior Member
Posts: 17
Joined: 2020-05-22, 15:24 UTC

Re: Help to create button

Post by *LeoLUG »

Thanks
Post Reply