命令提示符中的基本文本编辑器? [英] Basic text editor in command prompt?

查看:98
本文介绍了命令提示符中的基本文本编辑器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道对于linux和Unix机器有emacs和vi文本编辑器和gcc内置编译c代码?什么是Windows中的Windows文本编辑器,并且有任何编译器内置?

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?

推荐答案

以满足您的需要。

@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

希望这有助于:)

这篇关于命令提示符中的基本文本编辑器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆