Command line
-
How to open two files in notepad++ in different views using command line?
For example :
Open C:\temp\input.txt & C:\temp\output.txt using a command line and move the output file to OTHER ViewBasically I am looking for command line argument to use the option ( MOVE to OTHER VIEW)
Here is better description of what i am looking :
https://questionsnotepad.wordpress.com/question/ -
notepad++.exe -multiInst %1
-
I am not looking for launching Multiple Instances of Notepad++
I am looking for opening Two Files and Move one File to Other View.
Here is better description of what i am looking :
https://questionsnotepad.wordpress.com/question/ -
Sorry for the misunderstanding…
I could not found a command-line for that, but you can load Session files…
A session file is a XML file with this structure:<NotepadPlus> <Session activeView="1"> <mainView activeIndex="0"> <File firstVisibleLine="0" xOffset="0" scrollWidth="288" startPos="0" endPos="0" selMode="0" lang="XML" encoding="-1" filename="C:\file1.xml" backupFilePath="" originalFileLastModifTimestamp="1438295994" /> </mainView> <subView activeIndex="0"> <File firstVisibleLine="0" xOffset="0" scrollWidth="288" startPos="0" endPos="0" selMode="0" lang="XML" encoding="-1" filename="C:\file2.xml" backupFilePath="" originalFileLastModifTimestamp="1438295994" /> </subView> </Session> </NotepadPlus>
Files in “other view” (at right) are inside
<subView>
tag.
You can open it with a command-line such as this:
notepad++.exe -openSession "MySession.xml"