Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Basic text editor in command prompt? [closed]

Tags:

text

windows

cmd

I know for linux and Unix machines there is emacs and vi text editor and gcc is built in to compile c code? what would be the Windows text editor in cmd and are there any compilers built in?

like image 850
Gpipes Avatar asked Oct 21 '13 14:10

Gpipes


People also ask

How do I close the Command Prompt editor?

First, you need to switch to command mode. This can be done by hitting the Esc key. Next, you can type the following commands: :q to quit.

How do I open a closed Command Prompt?

The quickest way to open a Command Prompt window is through the Power User Menu, which you can access by right-clicking the Windows icon in the bottom-left corner of your screen, or with the keyboard shortcut Windows Key + X.


1 Answers

I made a simple VIM clone from batch to satisfy your needs.

@echo off title WinVim color a cls echo WinVim 1.02 echo. echo To save press CTRL+Z then press enter echo. echo Make sure to include extension in file name set /p name=File Name: copy con %name% if exist %name% copy %name% + con 

Hope this helps :)

like image 92
gr1m Avatar answered Oct 14 '22 09:10

gr1m