Transforming Windows CMD into a Linux-style command line

  
        

Participating in XCON2004, the command line when the big cows are demonstrating is very special. Come back and study it yourself. The original Prompt command can be implemented.

Write a batch linux.bat exists in the C: root directory

rem======================== =================

Prompt yztgx#

doskey ls=dir
doskey pwd=cd

cls

rem======================================================

Open Registry Editor,

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftCommand Processor]

Close "Regedit Editor" with "AutoRun"="c:linux.bat"

>

You're done, run CMD to see :-)

You can use ls, pwd two commands, if you want to expand, you can use the doskey command to add more commands

Copyright © Windows knowledge All Rights Reserved