tags:

views:

1117

answers:

2

Hi,

I set Notepad++ to be called from command-line. I would like it to open file browser in current folder from which it was called so that I could work with files in that folder. Is there any way to do this; any suggestions, ideas how to go about it? Textmate has this feature, which is very convenient.

[edit] To clarify, I was looking to get this from explorer plugin that open on the side. I don't see any option in the config. Maybe it can't be done, I was hoping someone might know more. [/edit]

Thanks in advance for your input.

A: 

I just checked my installation of Notepad++. When I invoke it via the command-line I am able to have it open the current folder for file saves/opens. How are you invoking Notepad++ from the command-line? What I have done is, append C:\Program Files\Notepad++ to the PATH variable.

Alan Haggai Alavi
I meant the explorer window on the side that you can have open, it is bundled with notepad++ as a dll, if this works for you, then I get something messed up here, which is great because it would mean it works
Zeljko Dakic
A: 

I thought it already does this?

I opened cmd, navigated to Desktop, ran "C:\Program Files\Notepad++\notepad++.exe", and the defaulted folder was 'Desktop'. I've changed the current commandprompt dir and then called notepad++ again, and it changes with the directory change.

glasnt