I sometimes want to open a text file in Notepad++, from within BC4. The "Open with" setting works fine for local files but when I want to open a remote file (SFTP) in NPP then NPP opens but does not open any file.
In BC, I specify the open with command as:
"C:\Program Files (x86)\Notepad++\notepad++.exe" "%f"
to indicate the path to NPP as well as a full file path %f. This opens NPP but it does not open the remote file. Same if I specify a relative path %F instead. Both variants work when I do the same on a local file instead.
I'm guessing that BC4 keeps some kind of local temp copy of the remote file, and I should perhaps pass *that* to NPP instead. Would that work?
--> How should I reference a remote file, so that it opens in NPP? Where does BC store its temp files?
Edit:
I think that BC stores its temp files in `D:\Users\USERNAME\AppData\Local\Temp\BC41E0D.tmp` but not in an accessible way; it's not evident what these temp files really are. I'm stuck.
In BC, I specify the open with command as:
"C:\Program Files (x86)\Notepad++\notepad++.exe" "%f"
to indicate the path to NPP as well as a full file path %f. This opens NPP but it does not open the remote file. Same if I specify a relative path %F instead. Both variants work when I do the same on a local file instead.
I'm guessing that BC4 keeps some kind of local temp copy of the remote file, and I should perhaps pass *that* to NPP instead. Would that work?
--> How should I reference a remote file, so that it opens in NPP? Where does BC store its temp files?
Edit:
I think that BC stores its temp files in `D:\Users\USERNAME\AppData\Local\Temp\BC41E0D.tmp` but not in an accessible way; it's not evident what these temp files really are. I'm stuck.
Comment