How to run CMD console commands in Notepad++


Run Console CMD Commands in Notepad++
Run Console CMD Commands in Notepad++

If you want to work with Notepad++ and CMD (Command Line) Console at once you can install NPPExec plugin.

Once you install this plugin using Plugin Manager, go to Plugins -> NppExec -> Execute..., or press F6 key.

C:\>dir
dir
 Volume in drive C is OS
 Volume Serial Number is 5EEF-7A63

 Directory of C:\

12-10-2018  08.03 PM    <DIR>          eSupport
29-08-2020  06.40 PM    <DIR>          My Web Sites
24-06-2020  08.29 PM    <DIR>          PerfLogs
30-09-2020  05.46 PM    <DIR>          Program Files
24-10-2020  04.28 PM    <DIR>          Program Files (x86)
28-04-2019  02.14 PM    <DIR>          ok_
19-10-2020  11.39 PM    <DIR>          Users
16-10-2020  09.30 AM    <DIR>          Windows
12-01-2020  05.33 PM    <DIR>          xampp
               3 File(s)     94,225,884 bytes
              10 Dir(s)  378,690,420,736 bytes free



Recent Posts:




Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.