I am using Notepad++ for creating scripts and opening my active files from menu "Run" -> "Open current dir cmd". This works fine and the result is:
c:\scripts>
What I would like to have is the filename that I am working on currently so that I could try testing it right away. In my scripts I use parameters to define input and output files. Therefore the script shouldn't be run while opening, rather to have the script typed into console:
c:\scripts>edit_text.pl
I would then add manually the needed input and output files
c:\scripts>edit_text.pl input.txt output.txt
How do I make this possible in Notepad++ "Run" -feature?
Currently it is defined in shortcuts.xml as
cmd /K cd $(CURRENT_DIRECTORY)
I suspect that it would be something like this:
cmd /K cd $(CURRENT_DIRECTORY) $(FILE_NAME)
The problem is that this will "execute" the filename as well. I would like to have it waiting on the console for my actions.
Thanks in advance!