Create a different cmd command prompt

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Listen to me.

The code is as follows: ————————————————————

| Turn off Echo

@echo off |

@mode Con cols=100 lines=30 | set cmd window size

@echo Calculator SAFETYQQ Group: 16443277 Welcome | Welcome words

@echo Calculator SAFETYQQ Group: 16443277 Welcome to use cmd.exe | You can write individual characters again

Title Calculator SAFETYQQ Group: 16443277 Special personality cmd |cmd window caption

@echo Calculator safetyqq Group: 16443277! Friendship tip: Today is:%date% open cmd time is:%time% | Show date and time

Color 1f [1 represents the back color of cmd, F for font color] | Set color

Prompt Hacker order: | change command Prompt

@echo on | Open echo

Save the above file as: Cmd.cmd

——————————————————————

Here are some of the color corresponding to the number or letter: [Front is the background color behind the font color] according to their favorite

0= black, 1 = blue, 2 = green, 3 = aqua, 4 = red, 5= purple, 6 = yellow, 7 = white, 8 = Gray, 9 = light blue

A= Green, b= light green, c= light, d= lavender, e= yellow, f= bright white.

——————————————————————

Step two: And then create a new Notepad file: The input reads as follows:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor]

"AutoRun" = "%systemroot%\\cmd.cmd"

Save As: Yes.reg

or open the registry and expand it sequentially:

HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor

Change the value of "AutoRun" to: "%systemroot%\\cmd.cmd"

————————————————————————————————————

Step three: We made a self-extracting file of the Cmd.cmd and Yes.reg we just made.

Related settings:

To set the self-extracting path:%systemroot% or: System disk \ Windows directory

Set decompression after the operation: Yes.reg can be added parameters: regedit/s (/S is run in quiet mode)

Starting article: www.qqqtouxiang.cn

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.