自己动手 打造Linux风格的MS-DOS
@echo off
cls
title My CLI Zone
color 2
echo Are You Bored With The Windows Style? Let's Experience Linux!
echo Simulate Linux Shell style on %OS% written by JustNeo
echo Kernel run on a %PROCESSOR_IDENTIFIER%
echo.
echo Today is %date%.
echo The current time is %time:~0,8%.
doskey ls=dir $*
doskey pwd=cd $*
doskey mkdir=md $*
doskey rmdir=rd $*
doskey rm=del $*
doskey mv=move $*
doskey cp=copy $*
doskey cat=type $*
doskey clear=cls
doskey uname=ver
doskey id=whoami
doskey w=quser
prompt [%username%@%COMPUTERNAME% $p]#$S (可能这句大家不清楚,不懂得cmd下prompt /?就能理解了)
echo on
至于怎么打开cmd就运行上面那个,偶不不说了......
这个只是模拟linux的很小部分,像linux能用颜色区分文件夹和文件的功能,没有实现。
cls
title My CLI Zone
color 2
echo Are You Bored With The Windows Style? Let's Experience Linux!
echo Simulate Linux Shell style on %OS% written by JustNeo
echo Kernel run on a %PROCESSOR_IDENTIFIER%
echo.
echo Today is %date%.
echo The current time is %time:~0,8%.
doskey ls=dir $*
doskey pwd=cd $*
doskey mkdir=md $*
doskey rmdir=rd $*
doskey rm=del $*
doskey mv=move $*
doskey cp=copy $*
doskey cat=type $*
doskey clear=cls
doskey uname=ver
doskey id=whoami
doskey w=quser
prompt [%username%@%COMPUTERNAME% $p]#$S (可能这句大家不清楚,不懂得cmd下prompt /?就能理解了)
echo on
至于怎么打开cmd就运行上面那个,偶不不说了......
这个只是模拟linux的很小部分,像linux能用颜色区分文件夹和文件的功能,没有实现。
相关推荐
laisean 2020-11-11
Julyth 2020-10-16
laisean 2020-09-27
flycappuccino 2020-09-27
liguojia 2020-09-27
87201442 2020-10-15
MXstudying 2020-09-05
WasteLand 2020-09-15
<?php. if (!empty($_POST)) {. $data1 = $_POST["data1"];$data2 = $_POST["data2"];$fuhao = $_POST["fuh
mathchao 2020-09-15
tvk 2020-07-30
Zaratustra 2020-07-29
zhaowj00 2020-07-26
Zaratustra 2020-06-26
ldcwang 2020-06-25
拿什么来拯救自己 2020-06-21
IsanaYashiro 2020-06-16
赵家小少爷 2020-06-14
大牛牛 2020-06-14