Transform Windows CMD into a Linux style command line

xiaoxiao2021-03-06  53

Participate in XCON2004, watching the command line when the big bull is demo is very special, come back to study it, the original prompt command can be realized.

Written a batch of Linux.bat exists in a C: / root directory

REM =========================================================================================================================================

Prompt yztgx #

Doskey Ls = Dirdoskey PWD = CD

CLS

REM =========================================================================================================================================

Open the Registry Editor,

[HKEY_LOCAL_MACHINE / SOFTWARE / Microsoft / Command Processor]

"Autorun" = "c: /Linux.bat"

Close Registry Editor

Take a big work, run the CMD to see :-)

You can use the LS, PWD two commands, if you want to expand, you can add more commands with Doskey this command.

转载请注明原文地址:https://www.9cbs.com/read-114944.html

New Post(0)