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"
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login