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++,
Open File in Notepad++ using CMD command.
More Posts related to NotepadPlusPlus,
- Add Custom header and footer to Windows Notepad file
- Enabling Notepad++ Dark Theme
- Notepad++ is about to exit prompt message
- Go to Line Number option in Windows Notepad
- How to Convert CSV file to SQL Script using Notepad++
- How to un-hide tab bar in notepad++
- Notepad++ display files on tab bar as horizontal instead of vertical
- Compare two text files in Notepad++
- Column Mode Editing in Notepad++
- Convert SQL to CSV in Notepad++
- List of Programming Languages Supported by Notepad++
- Keyboard shortcut to close tab in Notepad++
- How to open a new tab in Notepad++
- How to Enable spellcheck Notepad++
- Prettify JSON in Notepad++
- Word count in Notepad++
- How to create MD5 digest in Notepad++
- Notepad++ delete lines above or below
- Unable to edit file in Notepad++
- Word wrap text in Notepad++
- Notepad++ Editor alternatives for Mac OS X
- Launch Notepad++ html document in any web browser
- Convert text to random case using Notepad++
- Show Notepad++ tabs in multiple lines instead of scroll on tab bar
- 97 Useful Notepad++ Keyboard Shortcuts
- Base 64 Encoding Decoding In Notepad++
- Where are Notepad++ temp unsaved files stored?
- How to add Date and Time to Windows Notepad File
- How to Apply Themes to Notepad++
- Multiple line editing in Notepad++
- Add comma or semicolon at end of each line Notepad++
- How to know Notepad++ is 32-bit or 64-bit Version
- Notepad++ do not show CRLF characters
- Notepad++ select all above or below lines
- Change default language highlighting in Notepad++
- How to check about details of Notepad++ text editor
- Setting up Cloud feature with Notepad++
- Add Blank Lines Between Each Lines in Notepad++
- How to zoom-in or zoom-out in Windows Notepad
- Replace tabs by spaces or comma Notepad++
- [Nopepad++] How to add text at end of each line
- Using Document Map in Notepad++
- Notepad++ insert a blank line above or below the current line example
- Portable Notepad++ for windows
- How to format or prettify XML in Notepad++
More Posts:
- Disable Fading Edges Scroll Effect Android Views - Android
- Android : Class file collision: A resource exists with a different case - Android
- Error: Can not find the tag library descriptor for "struts-tags" - Java
- [Java Threads] Should we extend Thread Class or implement Runnable interface - Java
- Android : Unable to load VM from snapshot : Mac OS X Error - Android
- Sublime Add text at start and end of each line - Sublime
- INSTALL_FAILED_INSUFFICIENT_STORAGE Android Error - Android
- INSTALL_FAILED_INSUFFICIENT_STORAGE Error Android Emulator - Android
- Change Android EditText Cursor Height - Android
- Align left align text in Bootstrap - Bootstrap
- Android Studio : Implement abstract methods shortcut - Android-Studio
- Android Studio Ctrl Shift o auto import not working - Android
- Detect swipes on Android Activity - Android
- Facebook | Error : Sorry, something went wrong We're working on it and we'll get it fixed as soon as we can - Facebook
- How to copy Chrome alert popup text to clipboard - Chrome