Hi, i want to add usercommand/script file that do the function "edit with notepad++",which will open current file in notepad++
i use this command
Code: Select all
open """C:\Program Files\Notepad++\notepad++.exe"" ""<curitem>""";
But it has problem if the file is shortcut (.lnk) file, it will open the shortcut file in notepad++ ,while i want it open the file (the target of shortcut)
I think i have to make xy do this
if not shortcut file then open it
if shortcut then open target
but i don't know how to do it
Any help would be much appreciated
Thanks