open edit from cmd like notepad++, sublime or atom

//open edit from cmd like notepad++, sublime or atom

If you come from Mac or Linux. When you want to edit a program. You can easily use console editor to edit the file.

e.g vi /etc/hosts so you can edit the hosts file.

But how you able to do it in Windows. Previously, I need to go to the Windows Explorer, go to that path and then open notepad drag and drop (If you turn off User Account Control Settings – which is not recommended by Windows). Kind of many step to do…

The easy way to accomplished is using below command. I assumed you had installed notepad++

start notepad++ composer.json

In this way, you able to open the file directly from notepad++ or other editor you like.

Please be reminder you only can do so, if you editor had added into SYSTEM ENVIRONMENT PATH.

Tips: Another good cmd alternative in windows I am using https://conemu.github.io/

By |2017-12-06T10:07:20+00:00December 6th, 2017|Computers and Internet|0 Comments

Leave A Comment