Opening a file in your favourite editor from the command line
This post serves as a reminder for myself.
I use the very capable e-text editor pretty much as my notepad replacement. I also spend a fair bit of time in console windows, and require a quick command to edit files using E.
I create a batch file called “e.bat” in %SYSTEMROOT%\System32\ and pop the following inside the file:
@start c:\progra~1\e\e.exe %1 %2 %3
The added benefit is that this works from within a cygwin or msysgit console, too.
Another way would be to add e to the path, but i don’t think that’s really necessary – the path gets unwieldy and unmanageable quite easy.