1

I'm trying to find an easy way using launchy to open files via n++ that might not normally be that way. For example, if I have an authohotkey (ahk) file that I want to edit, I'd like to be able to use a script or command to launch it in notepad++.

I think there might be a way to do this with batch looking at this question, but I'm not sure how to make it so I can call it in launchy with the file name.

Eabryt
  • 151

1 Answers1

1

Using the information given by Anaksunaman, I was able to come up with what appears to be a workable solution.

I created a bat file in the directory I want to search through that simply says

for /f %%i in ('dir /S /b %*') do SET FNAME=%%i
START notepad++ %FNAME%

This will search through the directory of the file as well as any subdirectories.

This isn't really directly related to Launchy, but it does work when launched through Launchy.

Eabryt
  • 151