2
2
There is a similar command that I use to open the currently selected word on command prompt:
cmd /D "%windir%/system32" /K ""$(CURRENT_WORD)""
Is there any command for opening the current line without selecting any text on that line manually?
Sorry but that just gives me the line number. What i need are the contents from that line. – TMRW – 2012-05-21T19:34:00.163
As per this topic: http://superuser.com/questions/424559/remove-delete-current-line-in-notepad i figured i could do HOME, HOME, SHIFT+END and then run Open in CMD via shortcut key (in my case CTRL+SHIFT+C) and put all this in the macro and the macro in context menu. Unfortunately it did not work for some reason. The text on the current line becomes selected but never opens in CMD window...
– TMRW – 2012-05-21T19:37:00.377I missed the word number. The updated answer is tested and should work. – Dennis – 2012-05-22T02:55:00.843