topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday April 16, 2024, 4:45 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Adding "dosearch" result to as a parameter?  (Read 3898 times)

vitalyb

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 143
    • View Profile
    • Donate to Member
Adding "dosearch" result to as a parameter?
« on: November 11, 2007, 11:03 AM »
I'd like to do something along the lines of:

1000>>>notepad>->notepad.exe "dosearch C:\"

Well, the syntax is obviously all wrong but basically I want write:

notepad and have the option to select a file, for example c:\a.txt which will execute:

notepad.exe c:\a.txt

How do I do that?

Thanks

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: Adding "dosearch" result to as a parameter?
« Reply #1 on: November 11, 2007, 12:37 PM »
create a new alias:
group alias name: notepad
result: C:\WINDOWS\system32\notepad.exe $$1

then you can add +notepad to a farr command to open it in notepad.
for example: .nfo +notepad to open the most important .nfo file with notepad.