in the following path, see figure
Note: folders are hidden, so folder options to select the display of hidden files and folders, into the following figure, the two templates to delete, restart Word, you can open the normal.
Path: c:documents and Settingsadministratorapplication datamicrosofttemplates
The second method is easier
1. After you open Word in safe mode, create a new document as shown below
2. The following image appears on the right side of Word, and then
/*** Robot class:** EXEC function declaration:* Public Process EXEC (String command) throws IOException, parameters and function Description:* Command: A specified system command* Function: Executes the specified string command in a separate process** KeyPress Function Description:* public void keyPress (int keycode), Parameters and function Description:* KeyCode: The key to press (for example, KEYEVENT.VK_A)* Function: Analog press the specified key** Keyrelease Function Description:* public vo
Setver: Set version
[Applicable occasions]
It can be used to trick a computer when you want to use a different version of the DOS command. In high DOS, some older versions of the program need to be dos3.3, and setver can be used to set
Usage
When used, the Device=setver.exe is usually added to the Config.sys.
Setver displays the version of the file
setver [filename] N.nn Set the version number of the specified file
Example
C:\dos>setver
KERNEL. EXE 5.00
Dosoad.sys 5.00
EDLIN. EXE 5.00
BA
not, start a program
Private Sub Command3_Click ()
Dim my as PROCESSENTRY32
Dim L as Long
Dim L1 as Long
Dim flag as Boolean
Dim Mname as String
Dim I as Integer
L = createtoolhelp32snapshot (th32cs_snapprocess, 0)
If L Then
My.dwsize = 1060
If (Process32First (L)) Then ' traverse the first process
Todo
i = InStr (1, My.szexefile, CHR (0))
Mname = LCase (left (My.szexefile, i-1))
If mname = "winword.exe" Then
PID = My.th32processid
PName = Mname
MsgBox "Find word"
If MsgBox
We run the Notepad program in NOTEAPD, because Notepad is in the system directory, that is, in the system routing file path, but we enter WINWORD to run the Word program (if installed), but the system path does not contain the word directory. What is the reason for that? The path subkey in the original registry [Hkey_local_machine/software/microsoft/windows/currentversion/app Paths/winword.exe] has a key value of d:/ Program Files/microsoft office/off
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.