Creating a Linux-style MS-DOS

Source: Internet
Author: User
Create a Linux-style MS-DOS-Linux general technology-Linux programming and kernel information, the following is read details. @ 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 /? )
Echo on

As for how to open cmd, run the above one. I won't even mention it ......

This is only a small part of the simulation of linux, such as linux can distinguish folders and files by color, not implemented.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.