buy.cnooc.com.cn web viewmicrosoft word 设置 设置microsoft...
TRANSCRIPT
1.
windowsXP SP3term
WIN7
2.
1024*768
3.
IE 8
IE>F1IE
4. Office
Office 2003 SP3/Office 2007 SP2 SP
1. Hosts
a.Host\WINDOWS\system32\drivers\etc
b.Host
10.68.206.4 qsr.cnooc.com.cn
10.68.206.5 qcm.cnooc.com.cn
10.68.206.3 dsr.cnooc.com.cn
10.68.206.6 dcm.cnooc.com.cn
10.68.206.16 buy.cnooc.com.cn
10.68.206.11 cm.cnooc.com.cn
2.
IE->Internet-->->https:S
*.cnooc.com.cn
https://qsr.cnooc.com.cn
https://qcm.cnooc.com.cn
https://msr.cnooc.com.cn
https://mcm.cnooc.com.cn
https://dsr.cnooc.com.cn
https://dcm.cnooc.com.cn
https://cm.cnooc.com.cn
https://buy.cnooc.com.cn
3. Internet
IE->->->->
4.
IE->->Internet->->->->
a.
b. 10.*;*.local;*.cnooc.*;
5. 5vbs
VBSmain.vbsVBSVBS
word.vbs
internet.vbs
EMBED Package
windows.vbs
EMBED Package
main.vbs
EMBED Package
trustsites.vbs
IEhttps://qsr.cnooc.com.cn
6. Emptoris
EmptorisEmptoris
ECMTools.msi
ECM
>>%appdata%microsoft>Templates>Emptoris
ECMECMtools.msi
7.
IE->Internet-->->
a.1
b.
1
ActiveX
ActiveX
ActiveX
ActiveX
ActiveX*
META REFRESH
-
IE->Internet-
a.>
b.>http
c.>
1. 360360IEIE
2. IT
1. Microsoft word
Microsoft word[ ] I
Microsoft word 2007 Microsoft word 2007officeword
Microsoft wordActive Xoffice-Word---ActiveX-
Microsoft word 2003Microsoft word 2003 ->->->
2. Adobe Professional 7.0()
3. Windows
ECMMicrosoft Wordwindow
a. WindowsTools > Folder Options
b. file Types
DOC: Microsoft Office Word . word 2003
DOCX: Microsoft Office Word .word 2007
RTF: Rich Text Format.
c.
:
: Microsoft Word Document
Office 2007DOCXoffice 2003DOC
d. OK
Microsoft WordMicrosoft Word
*.tiff
e.
13
_1372776460/Internet.vbs
'=======================================================================' SAMPLE CODE ONLY'======================================================================='Microsoft provides programming examples for illustration only, 'without warranty either expressed or implied, including, but 'not limited to, the implied warranties of merchantability 'and/or fitness for a particular purpose. It is assumeed 'that you are familiar with the programming language being 'demonstrated and the tools used to create and debug procedures. 'Microsoft support professionals can help explain the functionality 'of a particular procedure, but they will not modify these examples 'to provide added functionality or construct procedures to meet your 'specific needs. If you have limited programming experience, you may 'want to contact a Microsoft Certified Partner or the Microsoft fee-based 'consulting line at (800) 936-5200. For more information about Microsoft 'Certified Partners, please visit the following Microsoft Web site: 'http://www.microsoft.com/partner/referral/''[Function Description:]'set internet options.' [Author:]'[email protected]' [Date:] '2010-08-03' [Version:]'1.0'=====================================================================
dim opset op=WScript.CreateObject("WScript.Shell")'1 for local intranetop.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1\1001",0,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1\1200",0,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1\1400",0,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1\1405",0,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1\1608",0,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1\1803",0,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1\1809",&H3,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1\2000",0,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1\2100",0,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1\2103",0,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1\2200",0,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1\2201",0,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\DisableCachingOfSSLPages",0,"REG_DWORD"
op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Friendly http errors","no","REG_SZ"
'2 for local intranetop.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2\1001",0,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2\1200",0,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2\1400",0,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2\1405",0,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2\1608",0,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2\1803",0,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2\1809",&H3,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2\2000",0,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2\2100",0,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2\2103",0,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2\2200",0,"REG_DWORD"op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2\2201",0,"REG_DWORD"
_1372776501/Main.vbs
'=======================================================================' SAMPLE CODE ONLY'======================================================================='Microsoft provides programming examples for illustration only, 'without warranty either expressed or implied, including, but 'not limited to, the implied warranties of merchantability 'and/or fitness for a particular purpose. It is assumeed 'that you are familiar with the programming language being 'demonstrated and the tools used to create and debug procedures. 'Microsoft support professionals can help explain the functionality 'of a particular procedure, but they will not modify these examples 'to provide added functionality or construct procedures to meet your 'specific needs. If you have limited programming experience, you may 'want to contact a Microsoft Certified Partner or the Microsoft fee-based 'consulting line at (800) 936-5200. For more information about Microsoft 'Certified Partners, please visit the following Microsoft Web site: 'http://www.microsoft.com/partner/referral/''[Function Description:]'main entrance' [Author:]'[email protected]' [Date:] '2010-08-03' [Version:]'1.0'=====================================================================
dim file,FS,sset FS = CreateObject("scripting.FileSystemObject")set file=FS.OpenTextFile("windows.vbs")s=file.ReadAllfile.CloseExecuteGlobal s
set file=FS.OpenTextFile("word.vbs")s=file.ReadAllfile.CloseExecuteGlobal s
set file=FS.OpenTextFile("internet.vbs")s=file.ReadAllfile.CloseExecuteGlobal s
set file=FS.OpenTextFile("trustsites.vbs")s=file.ReadAllfile.CloseExecuteGlobal s
_1372776519/trustsites.vbs
'=======================================================================' SAMPLE CODE ONLY'======================================================================='Microsoft provides programming examples for illustration only, 'without warranty either expressed or implied, including, but 'not limited to, the implied warranties of merchantability 'and/or fitness for a particular purpose. It is assumeed 'that you are familiar with the programming language being 'demonstrated and the tools used to create and debug procedures. 'Microsoft support professionals can help explain the functionality 'of a particular procedure, but they will not modify these examples 'to provide added functionality or construct procedures to meet your 'specific needs. If you have limited programming experience, you may 'want to contact a Microsoft Certified Partner or the Microsoft fee-based 'consulting line at (800) 936-5200. For more information about Microsoft 'Certified Partners, please visit the following Microsoft Web site: 'http://www.microsoft.com/partner/referral/''[Function Description:]'add trust sites.' [Author:]'[email protected]' [Date:] '2010-08-03' [Version:]'1.0'=====================================================================
dim trusttrust="*.cnooc.com"
dim head,bodyif Left(trust,5)="https" Then head="https"body=Right(trust,len(trust)-8)Elsehead="http"body=Right(trust,len(trust)-7)end ifdim temp,tempitempi=0do while temp"."tempi=tempi+1temp=Mid(body,tempi,1)loop
dim up,downup=Left(body,tempi-1)down=Right(body,len(body)-tempi)
'down/up/headdown = "com.cn"up = "*.cnooc"head = "*"
dim opset op=WScript.CreateObject("WScript.Shell")op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\" & down &"\",Defaultop.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\" & down &"\" & up &"\",Default
op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\" & down & "\" & up & "\" & head,2,"REG_DWORD"
_1435732700/ECMTools-build368.msi
_1372776480/Windows.vbs
'=======================================================================' SAMPLE CODE ONLY'======================================================================='Microsoft provides programming examples for illustration only, 'without warranty either expressed or implied, including, but 'not limited to, the implied warranties of merchantability 'and/or fitness for a particular purpose. It is assumeed 'that you are familiar with the programming language being 'demonstrated and the tools used to create and debug procedures. 'Microsoft support professionals can help explain the functionality 'of a particular procedure, but they will not modify these examples 'to provide added functionality or construct procedures to meet your 'specific needs. If you have limited programming experience, you may 'want to contact a Microsoft Certified Partner or the Microsoft fee-based 'consulting line at (800) 936-5200. For more information about Microsoft 'Certified Partners, please visit the following Microsoft Web site: 'http://www.microsoft.com/partner/referral/''[Function Description:]'set windows settings.' [Author:]'[email protected]' [Date:] '2010-08-03' [Version:]'1.0'=====================================================================
dim opset op=WScript.CreateObject("WScript.Shell")On Error Resume Nextop.RegWrite "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8\EditFlags",65536,"REG_DWORD"op.RegDelete "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8\BrowserFlags"op.RegWrite "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.RTF.8\EditFlags",65536,"REG_DWORD"
_1372776361/Word.vbs
'=======================================================================' SAMPLE CODE ONLY'======================================================================='Microsoft provides programming examples for illustration only, 'without warranty either expressed or implied, including, but 'not limited to, the implied warranties of merchantability 'and/or fitness for a particular purpose. It is assumeed 'that you are familiar with the programming language being 'demonstrated and the tools used to create and debug procedures. 'Microsoft support professionals can help explain the functionality 'of a particular procedure, but they will not modify these examples 'to provide added functionality or construct procedures to meet your 'specific needs. If you have limited programming experience, you may 'want to contact a Microsoft Certified Partner or the Microsoft fee-based 'consulting line at (800) 936-5200. For more information about Microsoft 'Certified Partners, please visit the following Microsoft Web site: 'http://www.microsoft.com/partner/referral/''[Function Description:]'set word settings.' [Author:]'[email protected]' [Date:] '2010-08-03' [Version:]'1.0'=====================================================================
on error resume nextdim opset op=WScript.CreateObject("WScript.Shell")op.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Security\DontTrustInstalledFiles",0,"REG_DWORD"dim wpset wp=WScript.CreateObject("WScript.Shell")wp.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Options\ExportPictureWithMetafile",0,"REG_SZ"dim upset up=WScript.CreateObject("WScript.Shell")up.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Word\Options\ExportPictureWithMetafile",0,"REG_SZ"
dim rprp=op.RegRead("HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Data\Settings")if err.number0 thendim oFSSet oFS = CreateObject("Scripting.FileSystemObject")dim WshShellSet WshShell = CreateObject("Wscript.Shell")WshShell.Run "regedit /s " & "tempbak.reg", 1, trueSet WshShell = nothingSet oFS = nothingerr.clearelseCall RegBinWrite("HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Data","",rp)err.clearend iferr.clear
Sub RegBinWrite (key, value, data)
dim oFSdim txtStreamdim WshShelldim valStringdim poskey = "[" & key & "]"
Set oFS = CreateObject("Scripting.FileSystemObject")Set txtStream = oFS.CreateTextFile("temp.reg",true)txtStream.WriteLine("Windows Registry Editor Version 5.00")txtStream.WriteLine(key)txtStream.Write("""Settings""=hex:")for i=0 to 295if Oct(data(i))