If you want to use Notepad++ using CMD (Windows Command Line) make sure you add Notepad++ installed location to the PATH environment variable to use it from anywhere, or else you need to go to C:\Program Files\Notepad++ folder to run the Notepad++ Console commands,
How to open a file in Notepad++ from CMD
- Go to installed location of Notepad++ (if PATH is not set, example: C:\Program Files\Notepad++),
- Type Notepad++ file-path
- This should open the file in Notepad++,
- To create a new tab, type Notepad++ tab-name
C:\Program Files (x86)\Notepad++>Notepad++ D:\countries.txt
The above command will open countries.txt file in Notepad++,
More Posts related to NotepadPlusPlus,
- How to hide toolbar on Notepad++
- Change the default Line Encoding Notepad++ (CR LF)
- Notepad++ is about to exit prompt message
- How to force quit or kill Notepad++ Process
- Add Blank Lines Between Each Lines in Notepad++
- Install Notepad++ silently using Windows Powershell
- Prettify JSON in Notepad++
- Notepad++ Convert text from lower to upper case
- Must have CSV Plugins for Notepad++
- How to lock Notepad++ tabs?
- Column Mode Editing in Notepad++
- How to change background color in Notepad++
- Notepad++ sort by name with example
- How to rename a tab in Notepad++
- [Solved] Notepad++ Menu Bar Missing
- Where are Notepad++ temp unsaved files stored?
- Notepad++: How to add Quotes to CSV File
- How to check about details of Notepad++ text editor
- How to close all tabs of Notepad++?
- How choose alternate Tab Bar icon in Notepad++
- How to copy file name and path to clipboard in Notepad++
- Change default language highlighting in Notepad++
- Add Line Number before each line in Notepad++ using Column Editor
- Go to Line Number option in Windows Notepad
- How to show End of Line Characters in File using Notepad++
More Posts:
- How to Connect to AWS Windows EC2 UI Instance from M1 Mac (Updated) - HowTos
- Compare two lists in Python and return matches - Python
- Merge-SPlogfile PowerShell - SharePoint Correlation ID error - SharePoint
- Fix: chroot: failed to run command /bin/bash: No such file or directory - Bash
- Convert Java Object to XML using Jackson Library - Java
- Fix SharePoint 2019 installation error This product requires Visual C++ Redistributable Package for Visual Studio 2017 - SharePoint
- Truncate table using Java JDBC Example - Java
- [Solution] Notepad++ Compare option unavailable - NotepadPlusPlus