To the end of the year, there is not much to live, usually think of some commonly used commands to integrate, so the following a small script came out ....
All right, just serve:
@echo offColor 0aModeCon cols=90 lines=25: BeginEchoinstructions for using-------------------------tool------------------------------EchoHow to use: Enter a number as indicated below and press ENTER. Echo -------------------------------------------------------------------EchoEnter the number "0"Exit this toolEchoEnter the number "1"Open the Control PanelEchoEnter the number "2"Turn on the calculatorEchoEnter the number "3"Open MagnifierEchoEnter the number "4The OpenEchoEnter the number "5The Open RegistryEchoEnter the number "6The open Disk ManagementEchoEnter the number "7The Open System servicesEcho --------------------------------------------------------------------EchoVersion 1.0.0 2015-02-09 If you have other needs, please contact: [Email protected]comEcho-------------------------Design by Hsuchan--------------------------Set/P var=Please enter:::Rum A special cmd by input numberif%var% EQU 0 (GotoQuitif%var% EQU 1 (GotoControlif%var% EQU 2 (GotoCalcif%var% EQU 3 (GotoMagnify)if%var% EQU 4 (GotoSnippingtool)if%var% EQU 5 (GotoRegeditif%var% EQU 6 (GotoDISKMGMT)if%var% EQU 7 (GotoServices::Choices: Quit Exit: Control StartControl.EXEGoto End: Calc StartCalc.EXEGoto End: Magnify StartMagnify.EXEGoto End: Snippingtool StartSnippingtool.EXEGoto End: Regedit StartRegedit.EXEGoto End:d iskmgmt StartDiskmgmt.MSCGoto End: Services StartServices.MSCGoto End: End CLS GotoBegin
Fork me on GitHub
This article 100% original, reproduced please indicate the source: http://www.cnblogs.com/hsuchan/p/4283747.html, thank you ~
Windows common Command Consolidation