DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Change what is displayed for dosearch +alias results?  (Read 3,853 times)

daddydave

  • test
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 867
    • Participated in NANY Challenge Once
Change what is displayed for dosearch +alias results?
« on: July 25, 2012, 11:01 PM »
So, this works perfectly, I can search for files and add // to open them in Notepad2, but I notice the "Notepad2 - $$1 |" part doesn't seem to do what I expect.

Code: (text)
1000>>>notepad2>->Notepad2 - $$1 | C:\Program Files\Notepad2\Notepad2.exe "$$1"
1000>>>notepad2_dosearch>->dosearch +notepad2 $$1>+>^(.*)//$

Is there a way to have the word Notepad2  appear in the search results? For Notepad2, it doesn't matter so much, but I am trying to set up a similar alias to delete files, and it would be nice to see Delete in front of each search result.

Original address: https://www.donationcoder.com/forum/index.php?topic=31758.0