Copy Code code as follows:
' Author: Liu Xianyong (Eric Liu)
' Copy and save the following code as the System command. VBS, and run the installation.
' After the installation is successful, you can set a command by right-clicking on a program, file, or folder-> send to the-> system
Regpathargument,key_data,type_name
MsgBox ("success!")
End Sub
Call Change (Startmenu_run) ' Disables the ' run ' feature in the Start menu
Call Change (Startmenu_find) ' Disables the ' Find ' feature in the Start menu
' Turn off system ' feature in the Start menu is disabled by call Change (Startmenu_close)
Save the above code as a Changestartmenu.vbs file, and double-click it when you use it.
VII. implementation of external procedures
Edit the
Windows 7 running commands
Cleanmgr-open the disk cleanup Tool
Compmgmt. msc --- Computer Management
Conf -- Start netmeeting
Charmap -- start the character ing table
Calc -- start Calculator
Chkdsk.exe -- chkdsk disk check
Cmd.exe -- cmd Command Prompt
Certmgr. MSC-Certificate Management Utility
Cliconfg-SQL Server Client Network Utility
Clipbrd -- clipboard Viewer
Ciadv. msc --- Index Service Program
Dvdplay-DVD player
Diskmgmt. msc --- disk Manage
The first is to use the bat batch processing command, which can be executed normally.
Rem closes Windows shell program explorertaskkill/f/IM explorer.exe REM cleanup System Icon cache database attrib-H-S-R "% USERPROFILE % \ appdata \ Local \ iconcache. DB "del/F" % USERPROFILE % \ appdata \ Local \ iconcache. DB "attrib/S/D-H-S-R" % USERPROFILE % \ appdata \ Local \ Microsoft \ Windows \ Explorer \ * "del/F" % USERPROFILE % \ appdata \ local \ Micro
Watch is a very useful command, basically all Linux distributions with this gadget, like the name, watch can help you monitor the results of a command, save you to manually run over and over again. Under Linux, watch is the periodic execution of the next program, and full-screen display of the execution results. You can use him to monitor everything you want. The
= Result.PhraseInfo.GetText ' gets the command recognized by the speech recognition engine
If Text Wshshell.run Commanddictionary.item (Text) ' Execute your command by the WshShell object Run method
Else
Scriptcomplete = True ' End of program flag
End If
End Sub
==================================
X.xml Source
Copy Code code as follows:
Copy Code code as follows:
' Command to run the program as an administrator Admin.vbs
Set objwmiservices = GetObject ("winmgmts:{impersonationlevel=impersonate}!\\.\root\cimv2")
Set Objwbemobjectset = Objwmiservices.execquery (_
"SELECT * from Win32_Process WHERE" _
"Executablepath= '" Replace (Wscript.fullname, "\", "\") "' and" _
"CommandLine like '%" wscript.scriptname "%")
For each objw
You can run Java in cmd, but you are prompted when you run the javac command: ' Javac ' is not an internal or external command, or a program or batch file that can be run.Cause: When installing Java, the path of the JDK and the path of the JRE are chosen to be the same, resulting in overwriting. At this time you can no
I have seen a company with very strict security policies, such:
Account A has the right to log on to Windows. however, due to the company's security policy, account A has no permission to run A command. there is a B account. This account is an account dedicated to running services. It has permissions, but account B has no permission to log on to Windows due to the Group Policy, because their group policy d
First, modify the host nameSSH LoginVi/etc/hostnameVi/etc/hostsHostname ulocalEnsure that the hostname of the 127.0.0.1 is consistent with the above, do not use special symbols, examples:Ulocal, representing the local Ubuntu testing machineQDU125, representative of Qingdao ubuntu125 serverSecond, Mac Boot runAdd the instruction script file in the user login items to ensure that the command file has execute permissions.Third, silent mode script example
1 1. L = []2 for in xrange:3 3. L.append ({' num ': i})4print l1 1. L = []2 2. A = {' num ': 0}3 for in Xrange ():4 4. a[' num '] = i5 5. L.append (a)6print lAre the two sections of code running the same, if not the same, what are the reasons?The result of the above code:1 1. [{' num ': 0},{' num ': 1},{' num ': 2},{' num ': 3},{' num ': 4},{' num ': 5},{' num ': 6},{' num ': 7},{' num ': 8},2 {' num ': 9}]The result of the code below:1 1. [{' num ': 9},{' num ': 9},{' num ': 9},{' n
Quickly create a custom file, right-click it, and run the command prompt menu as an administrator.
Most Windows users use the default file formats created by right-clicking. This may be inconvenient for people we love or have special requirements. For example, to create a file in the format of. reg. bat. vbs, you need to create a new text file and change the s
How to use and run PHP scripts from the Linux command line, the Linux command line PHP script
The following is an illustrated way to share with you under the Linux command to use and run PHP scripts.
PHP is an open source server-side scripting language, originally three let
Nohup command
Purpose: run the command without hanging up.
Syntax: nohup Command [arg...] []
Description: The nohup command runs the command specified by the command parameter and an
1. Wscript.Shell (Windows Script Host Runtime Library) is an object, and the corresponding file is C:\WINDOWS\system32\ Wshom.ocx,wscript.shell is a component that the server system will use. Shell is the meaning of "shell", this object can perform operating system shell commonly used operations, such as running the program, read and write the registry, environment variables. This object is commonly used in VB or VBS programming.
2. Install Wscript.S
UWP: run the command line to start the UWP application and the uwp command line.
Recently, during application development, I met the requirements described in the title. In fact, the main purpose is to quickly start the application, just as you can enter some executable program names in the "run" dialog box, you can st
Docker run: Create a new container and run a commandGrammar:Docker run [OPTIONS] IMAGE [COMMAND] [ARG...]Options Description:
-A stdin: Specifies the standard input and output content type, optional stdin/stdout/stderr three items;
- D: run the container in the backgro
Watch is a very useful command, basically all Linux distributions with this gadget, like the name, watch can help you monitor the results of a command, save you to manually run over and over again.Immediately after the watch you want to run the command, watch will help you r
Because vs2008 + QT with a little slow speed, especially when compiling and running to wait for half a day, so then installed a QT creator, using QT SDK-2010.05.
However, an error occurs during QT creator compilation and running, as shown below:
Running Build Steps for project calculatorform...
Configuration unchanged, skipping qmake step.
Starting: "E:/Qt. SDK/2010.05/bin/jom.exe"
E: \ QT. SDK \ 2010.05 \ bin \ jom.exe-nologo-J 2-F makefile. Debug
CL-C-nologo-zm200-ZC: wchar_t--Zi-MDD-Gr-ESCs-
In linux, run the head command and tail command to view the specified lines in the file. in Linux, the most common commands for reading files are cat, more, and less. However, if you use the tail and head commands, it enables more convenient precise reading. In addition, you only need to check whether the execution of the last few lines is successful. in linux, y
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.