锘??xml version="1.0" encoding="utf-8" standalone="yes"?>中文字幕久久波多野结衣av,波多野结衣AV无码久久一区,性高朝久久久久久久久久http://cppblog.com/wanghaiguang/category/20411.html閫嗘按琛岃垷錛屼笉榪涘垯閫zh-cnFri, 19 Aug 2016 07:01:22 GMTFri, 19 Aug 2016 07:01:22 GMT60SWIG瀹炵幇python瀵筩++灝佽http://www.shnenglu.com/wanghaiguang/archive/2016/08/18/214201.html鐜嬫搗鍏?/dc:creator>鐜嬫搗鍏?/author>Thu, 18 Aug 2016 03:20:00 GMThttp://www.shnenglu.com/wanghaiguang/archive/2016/08/18/214201.htmlhttp://www.shnenglu.com/wanghaiguang/comments/214201.htmlhttp://www.shnenglu.com/wanghaiguang/archive/2016/08/18/214201.html#Feedback0http://www.shnenglu.com/wanghaiguang/comments/commentRss/214201.htmlhttp://www.shnenglu.com/wanghaiguang/services/trackbacks/214201.html涓銆丼WIG鐜鎼緩
 
   1銆?涓嬭澆Swig for Windows錛歨ttp://www.swig.org/download.html
   2銆?瑙e帇 .zip 鏂囦歡鍒扮洰褰曪紝姣斿錛欴:\backupsoftware
   3銆?娣誨姞鐜鍙橀噺鍒皃ath錛?姣斿錛?D:\backupsoftware\swigwin-3.0.10
   4銆?綆鍗曟祴璇曞畨瑁呮槸鍚︽垚鍔燂細
   鎵撳紑Dos錛屽湪鍛戒護琛屾墽琛岋細 swig --help, 鏄劇ず Target Language Options鍗寵〃鏄庡畨瑁呮垚鍔熴?/span>

浜屻佷互c++涓轟緥

1銆佺紪鍐檆++婧愭枃浠?/span>
//example.h
#include <iostream>
using namespace std;
class Example{
public:
void say_hello();
};

//example.cpp

#include "example.h"

void Example::say_hello()
{
      printf("hello");
}

2銆佸啀鍐欎竴涓猻wig妯″潡瀹氫箟鏂囦歡濡備笅
%module example
%{
#include "example.h"
%}
%include "example.h"

3銆侀氳繃鍛戒護琛岃繍琛岋細$ swig -python -c++ example.i

    濡傛灉鏄嬌鐢–婧愮爜錛屽垯閫夐」錛? swig -Python example.i

    榪欐牱浼氬垱寤轟袱涓笉鍚岀殑鏂囦歡錛歟xample_wrap.cxx錛堝鏋滅敤c婧愮爜鏄痚xample_wrap.c錛夛紝鍜宲ython鏂囦歡example.py銆?/span>


4銆佷嬌鐢╬ython.distutils鐢熸垚妯″潡鍔ㄦ佸簱
python鑷甫涓涓猟istutils宸ュ叿錛屽彲浠ョ敤瀹冩潵鍒涘緩python鐨勬墿灞曟ā鍧椼備嬌鐢ㄥ畠涔熷緢綆鍗曪紝鍙渶瑕佸厛瀹氫箟涓涓厤緗枃浠訛紝閫氬父鏄懡鍚嶄負setup.py錛屽涓嬶細
#!/usr/bin/env python

"""
setup.py file for SWIG C\+\+/Python example
"""
from distutils.core import setup, Extension
example_module = Extension('_example',
sources=['example.cpp''example_wrap.cxx',],
)
setup (name = 'example',
version = '0.1',
author = "www",
description = """Simple swig C\+\+/Python example""",
ext_modules = [example_module],
py_modules = ["example"],
)

娉細swig鐢熸垚鐨勬墿灞曟ā鍧楀璞″悕蹇呴』浣跨敤python妯″潡鍚嶅茍鍦ㄥ墠闈㈠姞涓婁笅鍒掔嚎_錛屽垰鎵嶆垜浠氳繃swig鐢熸垚鐨刾ython鏂囦歡鏄痚xample.py錛屾墍浠ヨ繖閲岀殑妯″潡瀵硅薄鍚嶅繀欏繪槸'_example',鍚﹀垯鏃犳硶欏哄埄緙栬瘧銆?/span>

5銆佺紪璇?br />鍛戒護琛屼腑灝嗗綋鍓嶅伐浣滅洰褰曞垏鎹㈠埌鏂囦歡example.cpp,example_wrap.cxx,example.py,setup.py鎵鍦ㄧ殑鐩綍,鐒跺悗杈撳叆浠ヤ笅鍛戒護:
python setup.py build_ext --inplace

浼氬湪鏈洰褰曚笅鐢熸垚_example.pyd妯″潡銆?br />
6銆佹祴璇?/span>
import examlpe
example.Example().say_hello()

娉?/span>錛氬鏋滃鍏ユā鍧楀け璐ワ紝闇瑕佸皢妯″潡鎵鍦ㄨ礬寰勬坊鍔犲埌sys.path涓紝鍦ㄦ瀵煎叆灝變細鎴愬姛





]]>
Shell鑷姩鐢熸垚騫跺畨瑁呮湇鍔¤剼鏈紙杞澆錛?/title><link>http://www.shnenglu.com/wanghaiguang/archive/2014/04/23/206687.html</link><dc:creator>鐜嬫搗鍏?/dc:creator><author>鐜嬫搗鍏?/author><pubDate>Wed, 23 Apr 2014 09:06:00 GMT</pubDate><guid>http://www.shnenglu.com/wanghaiguang/archive/2014/04/23/206687.html</guid><wfw:comment>http://www.shnenglu.com/wanghaiguang/comments/206687.html</wfw:comment><comments>http://www.shnenglu.com/wanghaiguang/archive/2014/04/23/206687.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/wanghaiguang/comments/commentRss/206687.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/wanghaiguang/services/trackbacks/206687.html</trackback:ping><description><![CDATA[<span style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px; background-color: #ffffff;">     涓鑸湴錛屽綋鍦ㄧ洰鏍囨満鍣ㄧ紪璇戝畨瑁呮煇涓湇鍔$▼搴忓悗錛屼負浜嗕嬌鏈嶅姟鑳藉紑鏈鴻嚜鍚姩鍜屽叧鏈鴻嚜鍋滄錛屽垯闇瑕佸皢鍏舵坊鍔犱負緋葷粺鏈嶅姟銆備絾涓嶅悓鐨凩inux緋葷粺綆$悊鏈嶅姟鐨勬柟娉曚笉鍚岋紝濡俇buntu浣跨敤update-rc.d鍛戒護錛岃孯edHat鍒欎嬌鐢?             chkconfig鍛戒護銆傚洜姝や負浜嗚兘鑷姩璇嗗埆緋葷粺鐨勭被鍨嬶紝鍑忓皯浜哄伐鎺у埗錛岀紪鍐欎簡涓涓畝鍗曠殑autosrv鑴氭湰錛岃姹傝嚦灝?涓渶澶?涓弬鏁幫紝鐗圭偣濡備笅錛?/span><br style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px;" /><span style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px; background-color: #ffffff;">     ● 絎?涓弬鏁板彧鑳戒負install鎴杣ninstall錛岃〃紺哄畨瑁呮垨鍗歌澆鏈嶅姟銆?/span><br style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px;" /><span style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px; background-color: #ffffff;">     ● 絎?鍙傛暟鏄彲閫夌殑錛岃〃紺虹郴緇熷悕縐幫紝濡傛灉娌℃湁鎸囧畾錛岄偅涔堜細鑷姩璇嗗埆錛岃嫢鍑虹幇鎻愮ず閿欒錛屽垯琛ㄧず搴旇瑕佹樉寮忔寚瀹氱郴緇熷悕縐頒簡銆?nbsp;</span><span style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px;"> <div align="center"></div></span><div align="center" style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px;"></div><div align="center" style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px;"></div><div align="center" style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px;"></div><div align="center" style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px;"><div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; width: 1233.697998046875px; font-size: 13px; word-break: break-all;"><div align="left"><span style="color: #008080;">  1</span><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /><span style="color: #000000;">#! /bin/bash<br /></span><span style="color: #008080;">  2</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /># autosrv<br /></span><span style="color: #008080;">  3</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /><br /></span><span style="color: #008080;">  4</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />if [ $# -lt 1 ]; then<br /></span><span style="color: #008080;">  5</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    echo "Usage: $(basename "$0") install | uninstall [sysname]"<br /></span><span style="color: #008080;">  6</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    exit<br /></span><span style="color: #008080;">  7</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />elif [ "$1" != "install" -a "$1" != "uninstall" ]; then<br /></span><span style="color: #008080;">  8</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    echo "The first parameter must be install or uninstall" <br /></span><span style="color: #008080;">  9</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    exit<br /></span><span style="color: #008080;"> 10</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />fi<br /></span><span style="color: #008080;"> 11</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /><br /></span><span style="color: #008080;"> 12</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />action=$1<br /></span><span style="color: #008080;"> 13</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />sysname=$2<br /></span><span style="color: #008080;"> 14</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />srv_path=/etc/init.d/srv_name<br /></span><span style="color: #008080;"> 15</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /><br /></span><span style="color: #008080;"> 16</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />if [ -z "$sysname" ]; then<br /></span><span style="color: #008080;"> 17</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    sysname=`lsb_release -a | sed -n '2p' | awk '{if($0~/[Uu][Bb][Uu][Nn][Tt][Uu]/) print "ubuntu"; else if($0~/[Dd][Ee][Bb][Ii][Aa][Nn]/) print "debian"; else if($0~/[Rr][Ee][Dd][Hh][Aa][Tt]/) print "redhat"; else if($0~/[Cc][Ee][Nn][Tt][Oo][Ss]/) print "centos"; else print ""}'`<br /></span><span style="color: #008080;"> 18</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    if [ -z "$sysname" ]; then<br /></span><span style="color: #008080;"> 19</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />        echo "Unknown system, please manual special it with the second parameter"<br /></span><span style="color: #008080;"> 20</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />        exit<br /></span><span style="color: #008080;"> 21</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    fi<br /></span><span style="color: #008080;"> 22</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    echo "Current system is $sysname"<br /></span><span style="color: #008080;"> 23</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />fi<br /></span><span style="color: #008080;"> 24</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /><br /></span><span style="color: #008080;"> 25</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />create_file_ubu</span><span style="color: #000000;">ntu_debia</span><span style="color: #000000;">n()<br /></span><span style="color: #008080;"> 26</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />{<br /></span><span style="color: #008080;"> 27</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />cat </span><span style="color: #000000;"><</span><span style="color: #000000;">< END </span><span style="color: #000000;">></span><span style="color: #000000;"> $srv_path<br /></span><span style="color: #008080;"> 28</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />#! /bin/bash<br /></span><span style="color: #008080;"> 29</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px; color: #ff0000;" /></span><span style="color: #ff0000;">. /lib/lsb/init-functions</span><span style="color: #000000;"><br /></span><span style="color: #008080;"> 30</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /><br /></span><span style="color: #008080;"> 31</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />END<br /></span><span style="color: #008080;"> 32</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />cat srv_name.body >> $srv_path<br /></span><span style="color: #008080;"> 33</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />}<br /></span><span style="color: #008080;"> 34</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /><br /></span><span style="color: #008080;"> 35</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />create_file_redhat_centos()<br /></span><span style="color: #008080;"> 36</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />{<br /></span><span style="color: #008080;"> 37</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />cat </span><span style="color: #000000;"><</span><span style="color: #000000;">< END </span><span style="color: #000000;">></span><span style="color: #000000;"> $srv_path<br /></span><span style="color: #008080;"> 38</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />#! /bin/bash<br /></span><span style="color: #008080;"> 39</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /></span><span style="color: #ff0000;">#chkconfig:2345 90 10</span><span style="color: #000000;"><br /></span><span style="color: #008080;"> 40</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /></span><span style="color: #ff0000;">#description: srv name</span><span style="color: #000000;"><br /></span><span style="color: #008080;"> 41</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /><br /></span><span style="color: #008080;"> 42</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /></span><span style="color: #ff0000;">. /etc/rc.d/init.d/functions</span><span style="color: #000000;"><br /></span><span style="color: #008080;"> 43</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /><br /></span><span style="color: #008080;"> 44</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />END<br /></span><span style="color: #008080;"> 45</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />cat srv_name.body >> $srv_path<br /></span><span style="color: #008080;"> 46</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />}<br /></span><span style="color: #008080;"> 47</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /><br /></span><span style="color: #008080;"> 48</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />chmod_file()<br /></span><span style="color: #008080;"> 49</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />{<br /></span><span style="color: #008080;"> 50</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    chmod u+x $srv_path<br /></span><span style="color: #008080;"> 51</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />}<br /></span><span style="color: #008080;"> 52</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /><br /></span><span style="color: #008080;"> 53</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />remove_file()<br /></span><span style="color: #008080;"> 54</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />{<br /></span><span style="color: #008080;"> 55</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    rm -f $srv_path<br /></span><span style="color: #008080;"> 56</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />}<br /></span><span style="color: #008080;"> 57</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /><br /></span><span style="color: #008080;"> 58</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />install_ubuntu_debian()<br /></span><span style="color: #008080;"> 59</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />{<br /></span><span style="color: #008080;"> 60</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    create_file_ubuntu_debian<br /></span><span style="color: #008080;"> 61</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    chmod_file<br /></span><span style="color: #008080;"> 62</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    </span><span style="color: #ff0000;">update-rc.d</span><span style="color: #000000;"> srv_name </span><span style="color: #ff0000;">defaults 90 10</span><span style="color: #000000;"><br /></span><span style="color: #008080;"> 63</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />}<br /></span><span style="color: #008080;"> 64</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /><br /></span><span style="color: #008080;"> 65</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />uninstall_ubuntu_debian()<br /></span><span style="color: #008080;"> 66</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />{<br /></span><span style="color: #008080;"> 67</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    </span><span style="color: #ff0000;">update-rc.d -f</span><span style="color: #000000;"> srv_name </span><span style="color: #ff0000;">remove</span><span style="color: #000000;"><br /></span><span style="color: #008080;"> 68</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    remove_file<br /></span><span style="color: #008080;"> 69</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />}<br /></span><span style="color: #008080;"> 70</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /><br /></span><span style="color: #008080;"> 71</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />install_redhat_centos()<br /></span><span style="color: #008080;"> 72</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />{<br /></span><span style="color: #008080;"> 73</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    create_file_redhat_centos<br /></span><span style="color: #008080;"> 74</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    chmod_file<br /></span><span style="color: #008080;"> 75</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    </span><span style="color: #ff0000;">chkconfig </span><span style="color: #ff0000;">--add</span><span style="color: #000000;"> srv_name<br /></span><span style="color: #008080;"> 76</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />}<br /></span><span style="color: #008080;"> 77</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /><br /></span><span style="color: #008080;"> 78</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />uninstall_redhat_centos()<br /></span><span style="color: #008080;"> 79</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />{<br /></span><span style="color: #008080;"> 80</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    </span><span style="color: #ff0000;">chkconfig </span><span style="color: #ff0000;">--</span><span style="color: #ff0000;">del </span><span style="color: #000000;">srv_name<br /></span><span style="color: #008080;"> 81</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    remove_file<br /></span><span style="color: #008080;"> 82</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />}<br /></span><span style="color: #008080;"> 83</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /><br /></span><span style="color: #008080;"> 84</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />case "$sysname" in<br /></span><span style="color: #008080;"> 85</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    ubuntu|debian)<br /></span><span style="color: #008080;"> 86</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    if [ "$action" = "install" ]; then<br /></span><span style="color: #008080;"> 87</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />        install_ubuntu_debian<br /></span><span style="color: #008080;"> 88</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    else<br /></span><span style="color: #008080;"> 89</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />        uninstall_ubuntu_debian<br /></span><span style="color: #008080;"> 90</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    fi<br /></span><span style="color: #008080;"> 91</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    ;;<br /></span><span style="color: #008080;"> 92</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /><br /></span><span style="color: #008080;"> 93</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    redhat|centos)<br /></span><span style="color: #008080;"> 94</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    if [ "$action" = "install" ]; then<br /></span><span style="color: #008080;"> 95</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />        install_redhat_centos<br /></span><span style="color: #008080;"> 96</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    else<br /></span><span style="color: #008080;"> 97</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />        uninstall_redhat_centos<br /></span><span style="color: #008080;"> 98</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    fi<br /></span><span style="color: #008080;"> 99</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    ;;<br /></span><span style="color: #008080;">100</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" /><br /></span><span style="color: #008080;">101</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    *)<br /></span><span style="color: #008080;">102</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    echo "Currently only support ubuntu, debian, redhat and centos system"<br /></span><span style="color: #008080;">103</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    exit<br /></span><span style="color: #008080;">104</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />    ;;<br /></span><span style="color: #008080;">105</span><span style="color: #000000;"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" style="border: 0px;" />esac</span></div></div></div><span style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px; background-color: #ffffff;">      浠庝笂鍙煡錛岃嚜鍔ㄨ瘑鍒殑鏂規硶鏄幏鍙?/span><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px; color: #ff0000;">lsb_release -a</span><span style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px; background-color: #ffffff;">榪斿洖鐨勬枃鏈啀浣跨敤awk鏉ュ尮閰?/span><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px; color: #ff0000;">ubuntu</span><span style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px; background-color: #ffffff;">,</span><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px; color: #ff0000;">redhat</span><span style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px; background-color: #ffffff;">,</span><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px; color: #ff0000;">debian</span><span style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px; background-color: #ffffff;">,</span><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px; color: #ff0000;">centos</span><span style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px; background-color: #ffffff;">榪欏嚑涓瓙涓?蹇界暐澶у皬鍐?銆傝娉ㄦ剰鐨勬槸錛岃繑鍥炵殑鏂囨湰鍙兘鏈夋墍涓嶅悓錛屽綋緋葷粺瀹夎浜哃SB妯″潡鏃訛紝榪斿洖緇撴灉濡備笅</span><br style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px;" /><div align="center" style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px;"><img border="0" alt="" src="http://www.shnenglu.com/images/cppblog_com/qinqing1984/redhat-lsb-release.jpg" width="1028" height="111" style="border: 0px;" /></div><span style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px; background-color: #ffffff;">      娌℃湁瀹夎鏃訛紝榪斿洖緇撴灉濡備笅</span><br style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px;" /><div align="center" style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px;"></div><div align="left" style="color: #4b4b4b; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.333333969116211px; line-height: 20px;"><div align="center"></div><div align="center"></div><div align="center"><img border="0" alt="" src="http://www.shnenglu.com/images/cppblog_com/qinqing1984/ubuntu-lsb-release-2.jpg" width="1028" height="92" style="border: 0px;" /></div>      鏃犺鍝鎯呭喌錛岃鎻愬彇鍒嗘瀽鐨勯兘鏄2琛屾枃鏈紝鍥犳浣跨敤浜?span style="color: #ff0000;">sed -n '2p'</span>銆俿rv_name.body鏄笉鍚岀郴緇熺浉鍚岀殑鐢ㄤ簬鐢熸垚鏈緇堟湇鍔¤剼鏈殑閮ㄥ垎浠g爜鏂囦歡錛岄氬父鍖呭惈浜唖tart,stop,status,restart鍑犱釜鍑芥暟錛屽彧鏄病鏈夊寘鍚墠闈㈢殑涓閮ㄥ垎錛岃岃繖閮ㄥ垎鍒欑敱autosrv鑴氭湰鏉ユ牴鎹笉鍚岀殑緋葷粺鐢熸垚涓嶅悓鐨勪唬鐮併?br /><br />鏈枃杞嚜錛?a href="http://www.shnenglu.com/qinqing1984/archive/2014/01/03/205140.html" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21.111112594604492px;">http://www.shnenglu.com/qinqing1984/archive/2014/01/03/205140.html</a></div><img src ="http://www.shnenglu.com/wanghaiguang/aggbug/206687.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/wanghaiguang/" target="_blank">鐜嬫搗鍏?/a> 2014-04-23 17:06 <a href="http://www.shnenglu.com/wanghaiguang/archive/2014/04/23/206687.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>浣跨敤vbs鎴栬卋at鑴氭湰淇敼IE嫻忚鍣ㄥ畨鍏ㄧ駭鍒拰閫夐」http://www.shnenglu.com/wanghaiguang/archive/2013/09/06/203051.html鐜嬫搗鍏?/dc:creator>鐜嬫搗鍏?/author>Fri, 06 Sep 2013 08:09:00 GMThttp://www.shnenglu.com/wanghaiguang/archive/2013/09/06/203051.htmlhttp://www.shnenglu.com/wanghaiguang/comments/203051.htmlhttp://www.shnenglu.com/wanghaiguang/archive/2013/09/06/203051.html#Feedback0http://www.shnenglu.com/wanghaiguang/comments/commentRss/203051.htmlhttp://www.shnenglu.com/wanghaiguang/services/trackbacks/203051.html1. 棣栧厛浠嬬粛璁$畻鏈哄畾涔夌殑姣忎釜瀹夊叏鍖哄煙鐨勯」錛?span style="font-size: 14px;">Zones 銆?/span>榛樿鎯呭喌涓嬶紝瀹氫箟浠ヤ笅   5   涓尯鍩燂紙緙栧彿浠?nbsp;  0   鍒?nbsp;  4錛夛細

0   鎴戠殑鐢佃剳 
1   鏈湴   Intranet   鍖哄煙 
2   鍙椾俊浠葷殑绔欑偣鍖哄煙 
3   Internet   鍖哄煙 
4   鍙楅檺鍒剁殑绔欑偣鍖哄煙

娉ㄦ剰錛氶粯璁ゆ儏鍐典笅錛?#8220;鎴戠殑鐢佃剳”涓嶄細鍑虹幇鍦?#8220;瀹夊叏”閫夐」鍗$殑“鍖哄煙”妗嗕腑銆?/span>

鍏朵腑鐨勬瘡欏歸兘鍖呭惈浠ヤ笅   DWORD   鍊鹼紝鐢ㄤ簬琛ㄧず鑷畾涔?#8220;瀹夊叏”閫夐」鍗′笂鐨勭浉搴旇緗?/span>

娉ㄦ剰錛氶櫎闈炲彟澶栧0鏄庯紝鍚﹀垯姣忎釜   DWORD   鍊肩瓑浜?nbsp;  0銆?   鎴?nbsp;  3銆傞氬父錛岃緗負   0   鍒欏皢鍏蜂綋鎿嶄綔璁劇疆涓哄厑璁革紱璁劇疆涓?nbsp;  1   鍒欏鑷村嚭鐜版彁紺猴紱璁劇疆涓?nbsp;  3   鍒欑姝㈡墽琛屽叿浣撴搷浣溿?/span>

----------------------------------------------------------------------- 

1001           涓嬭澆宸茬鍚嶇殑   ActiveX   鎺т歡 
1004           涓嬭澆鏈鍚嶇殑   ActiveX   鎺т歡 
1200           榪愯   ActiveX   鎺т歡鍜屾彃浠?nbsp;
1201           瀵規病鏈夋爣璁頒負瀹夊叏鐨?nbsp;  ActiveX   鎺т歡榪涜鍒濆鍖栧拰鑴氭湰榪愯 
1206           鍏佽   Internet   Explorer   Webbrowser   鎺т歡鐨勮剼鏈?nbsp;
1400           媧誨姩鑴氭湰 
1402           Java   灝忕▼搴忚剼鏈?nbsp;
1405           瀵規爣璁頒負鍙畨鍏ㄦ墽琛岃剼鏈殑   ActiveX   鎺т歡鎵ц鑴氭湰 
1406           閫氳繃鍩熻闂暟鎹祫婧?nbsp;
1407           鍏佽閫氳繃鑴氭湰榪涜綺樿創鎿嶄綔 
1601           鎻愪氦闈炲姞瀵嗚〃鍗曟暟鎹?nbsp;
1604           瀛椾綋涓嬭澆 
1605           榪愯   Java 
1606           鎸佺畫浣跨敤鐢ㄦ埛鏁版嵁 
1607           璺ㄥ煙嫻忚瀛愭鏋?nbsp;
1608           鍏佽   META   REFRESH   * 
1609           鏄劇ず娣峰悎鍐呭   * 
1800           妗岄潰欏圭洰鐨勫畨瑁?nbsp;
1802           鎷栨斁鎴栧鍒跺拰綺樿創鏂囦歡 
1803           鏂囦歡涓嬭澆 
1804           鍦?nbsp;  IFRAME   涓姞杞界▼搴忓拰鏂囦歡 
1805           鍦?nbsp;  Web   瑙嗗浘涓姞杞界▼搴忓拰鏂囦歡 
1806           鍔犺澆搴旂敤紼嬪簭鍜屼笉瀹夊叏鏂囦歡 
1807                                   淇濈暀   ** 
1808                                   淇濈暀   ** 
1809           浣跨敤寮瑰嚭紿楀彛闃繪紼嬪簭   ** 
1A00           鐧誨綍 
1A02           鍏佽鎸佺畫浣跨敤瀛樺偍鍦ㄨ綆楁満涓婄殑   Cookie 
1A03           鍏佽浣跨敤姣忎釜浼氳瘽鐨?nbsp;  Cookie錛堟湭瀛樺偍錛?nbsp;
1A04           娌℃湁璇佷功鎴栧彧鏈変竴涓瘉涔︽椂涓嶆彁紺洪夋嫨瀹㈡埛璇佷功   * 
1A05           鍏佽鎸佺畫浣跨敤絎笁鏂?nbsp;  Cookie   * 
1A06           鍏佽浣跨敤絎笁鏂逛細璇?nbsp;  Cookie   * 
1A10           闅愮璁劇疆   * 
1C00           Java   鏉冮檺 
1E05           杞歡棰戦亾鏉冮檺

1F00           淇濈暀   **

2000           浜岃繘鍒跺拰鑴氭湰琛屼負 
2001           榪愯宸茬敤   Authenticode   絳懼悕鐨?nbsp;  .NET   緇勪歡 
2004           榪愯鏈敤   Authenticode   絳懼悕鐨?nbsp;  .NET   緇勪歡 
2100           鍩轟簬鍐呭鎵撳紑鏂囦歡錛岃屼笉鏄熀浜庢枃浠舵墿灞曞悕   ** 
2101           鍦ㄤ綆鐗規潈   Web   鍐呭鍖哄煙涓殑緗戠珯鍙互瀵艱埅鍒版鍖哄煙   ** 
2102           鍏佽鐢辮剼鏈垵濮嬪寲鐨勭獥鍙o紝娌℃湁澶у皬鍜屼綅緗檺鍒?nbsp;  ** 
2200           鏂囦歡涓嬭澆鑷姩鎻愮ず   ** 
2201           ActiveX   鎺т歡鑷姩鎻愮ず   ** 
2300           鍏佽緗戦〉涓烘椿鍔ㄥ唴瀹逛嬌鐢ㄥ彈闄愬埗鐨勫崗璁?nbsp;  ** 

----------------------------------------------------------------------- 

浠ヤ笂浠嬬粛瀹屼簡IE瀹夊叏閫夐」鐨勫熀鏈蹇碉紝鎺ヤ笅璇存槑濡備綍鍒╃敤鑴氭湰淇敼銆?/p>

鍋囪鎴戜滑瑕佷慨鏀規祻瑙堝櫒鐨?span style="white-space: pre;">璺ㄥ煙嫻忚瀛愭鏋?浠e彿1607)涓哄惎鐢紝瀹冮粯璁や負紱佺敤鐘舵併?/span>

1銆乂BS綃?/span>
Const HKEY_CURRENT_USER = &H80000001
strComputer = "."
Set objReg = GetObject("winmgmts:" &"{impersonationLevel=impersonate}\\"&strComputer _&"\root\default:StdRegProv")
strKeyPath = "Software\Microsoft\Windows\CurrentVersion\Internet Settings\" & "Zones\3" 
strEntryName = "1607" 
dwvalue = 0 
objReg.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, strEntryName,dwValue
鍏朵腑HKEY_CURRENT_USER鎸囩殑鏄綋鍓嶇櫥褰曠敤鎴鳳紝姝よ緗笉浼氬獎鍝嶅埌鍏跺畠鐧誨綍鐨勮處鍙楓?span style="color: #8a2be2;">strKeyPath涓哄叧閿瓧鐨勮礬寰勶紝鏍規嵁涔嬪墠鍏充簬Zones閫夐」鐨勮В閲婏紝姝よ礬寰勪笉闅劇湅鎳傘?span style="color: #8a2be2;">strEntryName涓洪渶瑕佽緗殑閫夐」浠e彿銆?span style="color: #8a2be2;">dwvalue涓洪渶瑕佽緗殑瀹夊叏綰у埆錛屾澶?鍒欎唬琛ㄥ厑璁搞?/span>

2銆丅AT綃?/span>
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3" /v "1607" /t reg_dword /d 0x00000003 /f
閫氳繃VBS鐨勮瑙o紝姝ゅ灝變笉鍦ㄨ禈榪幫紝涓嶈繃涓昏鐨勬槸浠ヤ笂涓ょ鏂規硶鐨勪繚瀛樻牸寮忓垎鍒槸浠bs鍜宐at綾誨瀷銆備緥濡俠at鏂規硶錛屽垯鍙互鍦ㄨ浜嬫湰涓冩湰涓婁竴琛屼唬鐮佸瓨涓篒E_modify.bat銆?br />
鏈枃杞嚜錛?a >http://blog.csdn.net/yingminxing/article/details/7250585


]]>
bat鎵瑰鐞嗛潤榛樿嚜鍔ㄥ畨瑁呰瘉涔?/title><link>http://www.shnenglu.com/wanghaiguang/archive/2013/09/06/203050.html</link><dc:creator>鐜嬫搗鍏?/dc:creator><author>鐜嬫搗鍏?/author><pubDate>Fri, 06 Sep 2013 07:56:00 GMT</pubDate><guid>http://www.shnenglu.com/wanghaiguang/archive/2013/09/06/203050.html</guid><wfw:comment>http://www.shnenglu.com/wanghaiguang/comments/203050.html</wfw:comment><comments>http://www.shnenglu.com/wanghaiguang/archive/2013/09/06/203050.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.shnenglu.com/wanghaiguang/comments/commentRss/203050.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/wanghaiguang/services/trackbacks/203050.html</trackback:ping><description><![CDATA[<p align="left" style="background-color: white; background-position: initial initial; background-repeat: initial initial;"><span style="font-size: 12.0pt;font-family:瀹嬩綋;Trebuchet MS";Trebuchet MS";">閽堝璇ラ棶棰橈紝寰蔣鏈変竴涓悕涓?/span><span style="font-size:12.0pt;font-family:"Trebuchet MS","sans-serif";">Certmgr.exe</span><span style="font-size:12.0pt;font-family:瀹嬩綋;Trebuchet MS";Trebuchet MS";">鐨勮瘉涔︾鐞嗗櫒宸ュ叿鍙互瀹炵幇姝ょ洰鏍囷紝璇ュ伐鍏蜂富瑕佺敤浜庣鐞嗚瘉涔︺佽瘉涔︿俊浠誨垪琛?/span><span style="font-size:12.0pt;font-family:"Trebuchet MS","sans-serif";"> (CTL) </span><span style="font-size:12.0pt;font-family:瀹嬩綋;Trebuchet MS";Trebuchet MS";">鍜岃瘉涔﹀悐閿鍒楄〃</span><span style="font-size:12.0pt;font-family:"Trebuchet MS","sans-serif";"> (CRL)</span><span style="font-size:12.0pt;font-family:瀹嬩綋;Trebuchet MS";Trebuchet MS";">錛?/span></p> <p align="left" style="background-color: white; background-position: initial initial; background-repeat: initial initial;"><span style="font-size: 12pt; font-family: 瀹嬩綋;">鍏蜂綋鍙傛暟鐨勭ず渚嬭鍙傝冿細</span><em><span style="font-size:9.0pt; font-family:"Trebuchet MS","sans-serif";"><br /> </span></em><span style="font-size: 12pt; font-family: 'Trebuchet MS', sans-serif;"><a ><span style="color: windowtext;">http://msdn.microsoft.com/zh-cn/library/e78byta0(VS.80).aspx</span></a></span><span style="font-size: 12pt; font-family: 瀹嬩綋;">銆?/span><em></em></p> <p align="left" style="background-color: white; background-position: initial initial; background-repeat: initial initial;"><span style="font-size: 12.0pt;font-family:瀹嬩綋;Trebuchet MS";Trebuchet MS";">璇ュ伐鍏鋒槸</span><span style="font-size:12.0pt;font-family:"Trebuchet MS","sans-serif";">SDK Tool</span><span style="font-size:12.0pt;font-family:瀹嬩綋;Trebuchet MS";Trebuchet MS";">鐨勪竴閮ㄥ垎錛屾偍鍙互涓嬭澆鏈鏂扮殑</span><span style="font-size: 12.0pt;font-family:"Trebuchet MS","sans-serif";">Windows SDK</span><span style="font-size:12.0pt;font-family:瀹嬩綋;Trebuchet MS";Trebuchet MS";">鍙戣鐗堣幏寰楁宸ュ叿錛涜嫢鎮ㄥ畨瑁呬簡</span><span style="font-size:12.0pt;font-family: "Trebuchet MS","sans-serif";">visual studio</span><span style="font-size:12.0pt; font-family:瀹嬩綋;Trebuchet MS";Trebuchet MS";">錛岃宸ュ叿涔熷寘鍚湪瀹夎鐩綍涓?/span></p> <p align="left" style="background-color: white; background-position: initial initial; background-repeat: initial initial;"><span style="font-size: 12.0pt;font-family:瀹嬩綋;Trebuchet MS";Trebuchet MS";">涓轟簡鏇村ソ鐨勫府鍔╂偍瑙e喅榪欎竴闂錛屾垜浠彲浠ラ氳繃涓嬪垪姝ラ瀹炵幇鍦ㄥ鎴風綆鏄撳畨瑁呬俊浠昏瘉涔︺?br /></span><span style="font-size: 12pt; font-family: 瀹嬩綋;">棣栧厛錛屾偍鍙互灝嗘牴璇佷功</span><span style="font-size: 12pt; font-family: 瀹嬩綋;">瀵煎嚭錛屽茍鎶婅繖涓瘉涔︿繚瀛樺埌涓涓?/span><span style="font-size: 12pt; font-family: 'Trebuchet MS', sans-serif;">share folder</span><span style="font-size: 12pt; font-family: 瀹嬩綋;">閲屻?br /></span><span style="font-size: 12pt; font-family: 'Trebuchet MS', sans-serif;">Export </span><span style="font-size: 12pt; font-family: 瀹嬩綋;">鎴愬姛涔嬪悗錛屽湪瀹㈡埛绔窇涓嬮潰</span><span style="font-size: 12pt; font-family: 'Trebuchet MS', sans-serif;">2</span><span style="font-size: 12pt; font-family: 瀹嬩綋;">涓懡浠ゅ氨鍙互鎶婅繖涓瘉涔?/span><span style="font-size: 12pt; font-family: 'Trebuchet MS', sans-serif;">test.cer</span><span style="font-size: 12pt; font-family: 瀹嬩綋;">鍔犲埌</span><span style="font-size: 12pt; font-family: 'Trebuchet MS', sans-serif;">”trusted publishers”</span><span style="font-size: 12pt; font-family: 瀹嬩綋;">鍜?/span><span style="font-size: 12pt; font-family: 'Trebuchet MS', sans-serif;">”trusted root certification authorities”</span><span style="font-size: 12pt; font-family: 瀹嬩綋;">閲屼簡銆?br /></span><span style="font-size: 12pt; font-family: 瀹嬩綋;">濡傛灉鎮ㄧ殑</span><span style="font-size: 12pt; font-family: 'Trebuchet MS', sans-serif;">client</span><span style="font-size: 12pt; font-family: 瀹嬩綋;">绔病鏈?/span><span style="font-size: 12pt; font-family: 'Trebuchet MS', sans-serif;">certmgr.exe</span><span style="font-size: 12pt; font-family: 瀹嬩綋;">錛屾偍鍙互鎶?/span><span style="font-size: 12pt; font-family: 'Trebuchet MS', sans-serif;">certmgr.exe</span><span style="font-size: 12pt; font-family: 瀹嬩綋;">鏀懼埌涓涓?/span><span style="font-size: 12pt; font-family: 'Trebuchet MS', sans-serif;">sharefolder</span><span style="font-size: 12pt; font-family: 瀹嬩綋;">閲岋紝姣斿榪欓噷鎴戞妸瀹冩斁鍒?/span><span style="font-size: 12pt;"><font face="Trebuchet MS, sans-serif">褰撳墠</font></span><span style="font-size: 12pt; font-family: 瀹嬩綋;">鐩綍涓?/span></p><p align="left" style="background-color: white;"></p><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080; font-size: 12pt;">1</span> <span style="font-size: 12pt;"> “</span><span style="font-size: 12pt;">.\</span><span style="font-size: 12pt;">certmgr</span><span style="font-size: 12pt;">.</span><span style="font-size: 12pt;">exe” </span><span style="font-size: 12pt;">-</span><span style="font-size: 12pt;">add “</span><span style="font-size: 12pt;">.\</span><span style="font-size: 12pt;">test</span><span style="font-size: 12pt;">.</span><span style="font-size: 12pt;">cer” </span><span style="font-size: 12pt;">-</span><span style="font-size: 12pt;">s </span><span style="font-size: 12pt;">-</span><span style="font-size: 12pt;">r localMachine trustedpublisher</span><br /><span style="color: #008080; font-size: 12pt;">2</span> <span style="font-size: 12pt;"> “</span><span style="font-size: 12pt;">.\</span><span style="font-size: 12pt;">certmgr</span><span style="font-size: 12pt;">.</span><span style="font-size: 12pt;">exe” </span><span style="font-size: 12pt;">-</span><span style="font-size: 12pt;">add “</span><span style="font-size: 12pt;">.\</span><span style="font-size: 12pt;">test</span><span style="font-size: 12pt;">.</span><span style="font-size: 12pt;">cer” </span><span style="font-size: 12pt;">-</span><span style="font-size: 12pt;">s </span><span style="font-size: 12pt;">-</span><span style="font-size: 12pt;">r localMachine AuthRoot</span></div><span style="font-size: 12.0pt;font-family:瀹嬩綋;Trebuchet MS";Trebuchet MS";">鎮ㄥ彲浠ユ妸涓婇潰涓よ浠g爜鎷瘋礉鍒頒竴涓?/span><span style="font-size:12.0pt;font-family:"Trebuchet MS","sans-serif";">bat</span><span style="font-size:12.0pt;font-family:瀹嬩綋;Trebuchet MS";Trebuchet MS";">鏂囦歡涓紝瀹㈡埛鍙鍙屽嚮榪欎釜</span><span style="font-size:12.0pt;font-family: "Trebuchet MS","sans-serif";">bat</span><span style="font-size:12.0pt;font-family: 瀹嬩綋;Trebuchet MS";Trebuchet MS";">鏂囦歡鍗沖彲瀹屾垚瀹夎璇佷功錛屾垨鑰呴氳繃緇勭瓥鐣ユ潵寮哄埗鍦ㄥ煙鍐呯殑鎸囧畾鏈哄櫒涓婅繍琛岃繖涓?/span><span style="font-size:12.0pt;font-family:"Trebuchet MS","sans-serif";">bat </span><span style="font-size:12.0pt;font-family:瀹嬩綋;Trebuchet MS";Trebuchet MS";">鏂囦歡銆?br /><br />闈欓粯瀹夎<br />鍒╃敤vbs鏂囦歡瀹炵幇闈欓粯瀹夎錛岃剼鏈ず渚嬪涓嬶細<br /></span><div style="background-color: #eeeeee; font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%; word-break: break-all;"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080; font-size: 12pt;">1</span> <span style="font-size: 12pt;">set ws</span><span style="font-size: 12pt;">=</span><span style="font-size: 12pt;">wscript</span><span style="font-size: 12pt;">.</span><span style="font-size: 12pt;">createobject(</span><span style="font-weight: bold; font-size: 12pt;">"</span><span style="font-weight: bold; font-size: 12pt;">wscript.shell</span><span style="font-weight: bold; font-size: 12pt;">"</span><span style="font-size: 12pt;">)</span><br /><span style="color: #008080; font-size: 12pt;">2</span> <span style="font-size: 12pt;">ws</span><span style="font-size: 12pt;">.</span><span style="font-size: 12pt;">run </span><span style="font-weight: bold; font-size: 12pt;">"</span><span style="font-weight: bold; font-size: 12pt;">installcert.bat /start</span><span style="font-weight: bold; font-size: 12pt;">"</span><span style="font-size: 12pt;">,</span><span style="color: #800000; font-size: 12pt;">0</span></div><p> </p><img src ="http://www.shnenglu.com/wanghaiguang/aggbug/203050.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/wanghaiguang/" target="_blank">鐜嬫搗鍏?/a> 2013-09-06 15:56 <a href="http://www.shnenglu.com/wanghaiguang/archive/2013/09/06/203050.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>xml緙栫爜闂http://www.shnenglu.com/wanghaiguang/archive/2013/05/22/200529.html鐜嬫搗鍏?/dc:creator>鐜嬫搗鍏?/author>Wed, 22 May 2013 07:24:00 GMThttp://www.shnenglu.com/wanghaiguang/archive/2013/05/22/200529.htmlhttp://www.shnenglu.com/wanghaiguang/comments/200529.htmlhttp://www.shnenglu.com/wanghaiguang/archive/2013/05/22/200529.html#Feedback0http://www.shnenglu.com/wanghaiguang/comments/commentRss/200529.htmlhttp://www.shnenglu.com/wanghaiguang/services/trackbacks/200529.html榛樿鎯呭喌涓嬶紝Windows鐨凬otepad鎶婃枃浠朵繚瀛樹負ANSI鏍煎紡,鍦ㄨ繖縐嶆儏鍐碉紝璁懼畾涓嶅悓encoding鏈変笉鍚岀殑緇撴灉錛?/span>
   encoding="GB2312" 錛屾甯告樉紺猴紱
   encoding="UTF-8"   錛屽嚭閿欙紝鎻愮ず鏂囨湰鍐呭涓彂鐜版棤鏁堝瓧絎?;

鎶妜ml鏂囦歡鍦╪otepad鍙﹀寘瀛樹負UTF-8鏍煎紡錛?/span>
   encoding="GB2312" 錛屽嚭閿欙紝鎻愮ず涓嶆敮鎸佷粠褰撳墠緙栫爜鍒版寚瀹氱紪鐮佺殑鍒囨崲;
   encoding="UTF-8"   錛屾甯革紱
渚嬪錛氫笉璁劇疆encoding鐨勫鹼紝榛樿灝辨槸UTF-8,鎵浠ユ妸榪欑鎯呭喌褰掑叆UTF-8鐨勬儏鍐?

]]>
Linux Shell鑴氭湰鏀葷暐絎旇http://www.shnenglu.com/wanghaiguang/archive/2013/04/03/199075.html鐜嬫搗鍏?/dc:creator>鐜嬫搗鍏?/author>Wed, 03 Apr 2013 08:58:00 GMThttp://www.shnenglu.com/wanghaiguang/archive/2013/04/03/199075.htmlhttp://www.shnenglu.com/wanghaiguang/comments/199075.htmlhttp://www.shnenglu.com/wanghaiguang/archive/2013/04/03/199075.html#Feedback0http://www.shnenglu.com/wanghaiguang/comments/commentRss/199075.htmlhttp://www.shnenglu.com/wanghaiguang/services/trackbacks/199075.html闃呰鍏ㄦ枃

]]>
msi紼嬪簭瀹夎鍜屽嵏杞?/title><link>http://www.shnenglu.com/wanghaiguang/archive/2012/11/15/195224.html</link><dc:creator>鐜嬫搗鍏?/dc:creator><author>鐜嬫搗鍏?/author><pubDate>Thu, 15 Nov 2012 03:21:00 GMT</pubDate><guid>http://www.shnenglu.com/wanghaiguang/archive/2012/11/15/195224.html</guid><wfw:comment>http://www.shnenglu.com/wanghaiguang/comments/195224.html</wfw:comment><comments>http://www.shnenglu.com/wanghaiguang/archive/2012/11/15/195224.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/wanghaiguang/comments/commentRss/195224.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/wanghaiguang/services/trackbacks/195224.html</trackback:ping><description><![CDATA[<div><pre id="best-answer-content" mb10"="" data-accusearea="aContent" style="margin-top: 0px; margin-bottom: 10px; padding: 0px; font-family: Arial; white-space: pre-wrap; word-wrap: break-word; zoom: 1; line-height: 22px; background-color: #fffcf6; ">寰蔣鍦╔P涓嬫彁渚涗簡涓涓蔣浠剁▼搴忥紝SYSTEM32\msiexec.exe<br />鍦ㄥ懡浠よ涓嬭緭鍏ワ細msiexec /? 鏄劇ず甯姪淇℃伅錛屽涓嬶細</pre><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->Windows (R) Installer. V 5.0.7600.16385<br /><br />msiexec /Option <Required Parameter> [Optional Parameter]<br /><br />瀹夎閫夐」<br />    </package | /i> <Product.msi><br />        瀹夎鎴栭厤緗駭鍝?br />    /a <Product.msi><br />        綆$悊瀹夎 - 鍦ㄧ綉緇滀笂瀹夎浜у搧<br />    /j<u|m> <Product.msi> [/t <Transform List>] [/g <Language ID>]<br />        鍏竷浜у搧 - m 鍏竷鍒版墍鏈夌敤鎴鳳紝u 鍏竷鍒板綋鍓嶇敤鎴?br />    </uninstall | /x> <Product.msi | ProductCode><br />        鍗歌澆浜у搧<br />鏄劇ず閫夐」<br />    /quiet<br />        瀹夐潤妯″紡錛屾棤鐢ㄦ埛浜や簰<br />    /passive<br />        鏃犱漢鍙備笌妯″紡 - 鍙樉紺鴻繘搴︽爮<br />    /q[n|b|r|f]<br />        璁劇疆鐢ㄦ埛鐣岄潰綰у埆<br />        n - 鏃犵敤鎴風晫闈?br />        b - 鍩烘湰鐣岄潰<br />        r - 綺劇畝鐣岄潰<br />        f - 瀹屾暣鐣岄潰(榛樿鍊?<br />    /help<br />        甯姪淇℃伅<br />閲嶆柊鍚姩閫夐」<br />    /norestart<br />        瀹夎瀹屾垚鍚庝笉閲嶆柊鍚姩<br />    /promptrestart<br />        蹇呰鏃舵彁紺虹敤鎴烽噸鏂板惎鍔?br />    /forcerestart<br />        瀹夎鍚庡緇堥噸鏂板惎鍔ㄨ綆楁満<br />鏃ュ織閫夐」<br />    /l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] <LogFile><br />        i - 鐘舵佹秷鎭?br />        w - 闈炶嚧鍛借鍛?br />        e - 鎵鏈夐敊璇秷鎭?br />        a - 鎿嶄綔鐨勫惎鍔?br />        r - 鎿嶄綔鐗瑰畾璁板綍<br />        u - 鐢ㄦ埛璇鋒眰<br />        c - 鍒濆鐢ㄦ埛鐣岄潰鍙傛暟<br />        m - 鍐呭瓨涓嶈凍鎴栬嚧鍛介鍑轟俊鎭?br />        o - 紓佺洏絀洪棿涓嶈凍娑堟伅<br />        p - 緇堢灞炴?br />        v - 璇︾粏杈撳嚭<br />        x - 棰濆璋冭瘯淇℃伅<br />        + - 鎵╁睍鍒扮幇鏈夋棩蹇楁枃浠?br />        ! - 姣忎竴琛屽埛鏂板埌鏃ュ織<br />        * - 璁板綍鎵鏈変俊鎭紝闄や簡 v 鍜?nbsp;x 閫夐」<br />    /log <LogFile><br />        涓?nbsp;/l* <LogFile> 鐩稿悓<br />鏇存柊閫夐」<br />    /update <Update1.msp>[;Update2.msp]<br />        搴旂敤鏇存柊<br />    /uninstall <PatchCodeGuid>[;Update2.msp] /package <Product.msi | ProductCode><br />        鍒犻櫎浜у搧鐨勬洿鏂?br />淇閫夐」<br />    /f[p|e|c|m|s|o|d|a|u|v] <Product.msi | ProductCode><br />        淇浜у搧<br />        p - 浠呭綋鏂囦歡涓㈠け鏃?br />        o - 濡傛灉鏂囦歡涓㈠け鎴栧畨瑁呬簡鏇存棫鐨勭増鏈?榛樿鍊?<br />        e - 濡傛灉鏂囦歡涓㈠け鎴栧畨瑁呬簡鐩稿悓鎴栨洿鏃х殑鐗堟湰<br />        d - 濡傛灉鏂囦歡涓㈠け鎴栧畨瑁呬簡涓嶅悓鐗堟湰<br />        c - 濡傛灉鏂囦歡涓㈠け鎴栬緝楠屽拰涓庤綆楃殑鍊間笉鍖歸厤<br />        a - 寮哄埗閲嶆柊瀹夎鎵鏈夋枃浠?br />        u - 鎵鏈夊繀瑕佺殑鐢ㄦ埛鐗瑰畾娉ㄥ唽琛ㄩ」(榛樿鍊?<br />        m - 鎵鏈夊繀瑕佺殑璁$畻鏈虹壒瀹氭敞鍐岃〃欏?榛樿鍊?<br />        s - 鎵鏈夌幇鏈夌殑蹇嵎閿柟寮?榛樿鍊?<br />        v - 浠庢簮榪愯騫墮噸鏂扮紦瀛樻湰鍦板畨瑁呭寘<br />璁劇疆鍏叡灞炴?br />    [PROPERTY=PropertyValue]<br /><br />璇鋒煡闃?nbsp;Windows (R) Installer SDK 鑾峰緱鏈夊叧鍛戒護琛岃娉曠殑鍏朵粬鏂囨。銆?br /><br />鐗堟潈鎵鏈?nbsp;(C) Microsoft Corporation. 淇濈暀鎵鏈夋潈鍒┿?br />姝よ蔣浠剁殑閮ㄥ垎鍐呭緋誨熀浜?nbsp;Independent JPEG Group 鐨勫伐浣溿?/div><br /><span style="background-color: #fffcf6; font-family: Arial; line-height: 22px; white-space: pre-wrap; ">榪愯CMD鍚庯紝杈撳叆</span>msiexec /i Product.msi /q 鍗沖彲瀹夎msi紼嬪簭銆?nbsp;<br /><br /><div><span style="background-color: #fffcf6; font-family: Arial; line-height: 22px; white-space: pre-wrap; ">榪愯CMD鍚庯紝杈撳叆</span>msiexec /x <span style="background-color: #fffcf6; font-family: Arial; line-height: 22px; white-space: pre-wrap; ">ProductCode</span> /q 鍗沖彲鍗歌澆msi瀹夎榪囩殑紼嬪簭銆?br /><br /><pre id="best-answer-content" mb10"="" data-accusearea="aContent" style="margin-top: 0px; margin-bottom: 10px; padding: 0px; font-family: Arial; white-space: pre-wrap; word-wrap: break-word; zoom: 1; line-height: 22px; background-color: #fffcf6; ">ProductCode鐨勫煎彲鍦ㄦ敞鍐岃〃涓煡鎵撅紝娉ㄥ唽琛ㄤ綅緗細HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall 鏍規嵁DisplayName閿兼潵紜畾瀹夎鐨刴si紼嬪簭錛孶ninstallString鐨勫間腑鍖呭惈ProductCode 濡傦細{BC12972C-BF15-4607-A745-948DA0DE63FF}<br /><br />鍗歌澆鍛戒護鍙互鍐欐垚濡備笅鎵紺猴細msiexec /x "{BC12972C-BF15-4607-A745-948DA0DE63FF}" /q</pre></div></div><img src ="http://www.shnenglu.com/wanghaiguang/aggbug/195224.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/wanghaiguang/" target="_blank">鐜嬫搗鍏?/a> 2012-11-15 11:21 <a href="http://www.shnenglu.com/wanghaiguang/archive/2012/11/15/195224.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>BAT鍛戒護http://www.shnenglu.com/wanghaiguang/archive/2012/06/21/179595.html鐜嬫搗鍏?/dc:creator>鐜嬫搗鍏?/author>Thu, 21 Jun 2012 04:30:00 GMThttp://www.shnenglu.com/wanghaiguang/archive/2012/06/21/179595.htmlhttp://www.shnenglu.com/wanghaiguang/comments/179595.htmlhttp://www.shnenglu.com/wanghaiguang/archive/2012/06/21/179595.html#Feedback0http://www.shnenglu.com/wanghaiguang/comments/commentRss/179595.htmlhttp://www.shnenglu.com/wanghaiguang/services/trackbacks/179595.html闃呰鍏ㄦ枃

]]>
VBS鍚姩搴旂敤紼嬪簭http://www.shnenglu.com/wanghaiguang/archive/2012/04/16/171607.html鐜嬫搗鍏?/dc:creator>鐜嬫搗鍏?/author>Mon, 16 Apr 2012 04:41:00 GMThttp://www.shnenglu.com/wanghaiguang/archive/2012/04/16/171607.htmlhttp://www.shnenglu.com/wanghaiguang/comments/171607.htmlhttp://www.shnenglu.com/wanghaiguang/archive/2012/04/16/171607.html#Feedback0http://www.shnenglu.com/wanghaiguang/comments/commentRss/171607.htmlhttp://www.shnenglu.com/wanghaiguang/services/trackbacks/171607.htmlVBS涓惎鍔╡xe紼嬪簭錛?
1 set ws=WScript.CreateObject("WScript.Shell"
2 ws.Run "AutoUpdateEx.exe",0,true
3 ws.Run "鎵撳嵃閰嶇疆宸ュ叿.exe",0,true
4 ws.Run "DOMASClientMonitor.exe",0,true
5 ws.Run "PrinterMonitorEx.exe",0,false

VBS涓惎鍔╡xe紼嬪簭緇濆璺緞錛?/span>
1 set ws=WScript.CreateObject("WScript.Shell"
2 ws.Run """C:\Program Files\Test\AutoUpdateEx.exe""",0,true
3 ws.Run """C:\Program Files\Test\DOMASClientMonitor.exe""",0,false
4 ws.Run """C:\Program Files\Test\PrinterMonitorEx.exe""",0,false
5 ws.Run """C:\Program Files\Test\鎵撳嵃閰嶇疆宸ュ叿.exe""",0,false

ws.Run瀹為檯鍙傛暟鏄?C:\Program Files\Test\AutoUpdateEx.exe"錛屽洜涓哄甫絀烘牸錛屽厛灝嗗畠鎷搗鏉ヤ綔涓轟竴涓暣浣擄紝鑰屼袱渚х殑"鎸夎姹傚簲璇ョ敤杞箟""琛ㄧず錛屾晠鎴愪負""C:\Program Files\Test\AutoUpdateEx.exe""錛岃?/span>Run鏈韓璋冪敤鍙傛暟灝卞緱鍦ㄥ閮ㄥ姞涓瀵瑰紩鍙鳳紝鏁呭叡鏈変笁瀵瑰紩鍙楓傜敤msgbox"""C:\Program Files\Test\AutoUpdateEx.exe"""鍙獙璇佺粨鏋滀負"C:\Program Files\Test\AutoUpdateEx.exe"銆傚浜?/span>Run鏂規硶錛屽彲浠ョ粺涓閮界敤涓変釜寮曞彿錛?/span>ws.Run"""C:\"""鍚屾牱鍙互瑙f瀽錛涙湰渚嬩篃鍙敤ws.Run"C:\progra~1\Test\AutoUpdateEx.exe"鏉ュ疄鐜般?/span>



]]>
精品久久久久久国产| 怡红院日本一道日本久久| 一本色道久久综合| 国产99久久久久久免费看| 久久久久精品国产亚洲AV无码| 韩国免费A级毛片久久| 中文字幕久久久久人妻| 久久久久久免费视频| 久久婷婷五月综合成人D啪| 精品国产91久久久久久久a| 久久久久久狠狠丁香| 国产99久久久久久免费看| 久久国产精品无码网站| 久久久噜噜噜久久| 亚洲精品综合久久| 97精品依人久久久大香线蕉97| 久久精品国产亚洲AV忘忧草18| 久久香综合精品久久伊人| 久久精品国产亚洲AV蜜臀色欲| 热综合一本伊人久久精品| 日本五月天婷久久网站| 中文字幕久久波多野结衣av| 久久婷婷激情综合色综合俺也去| 精品无码久久久久久国产| 久久亚洲熟女cc98cm| 久久精品国产亚洲沈樵| 亚洲国产成人精品久久久国产成人一区二区三区综| 久久人与动人物a级毛片| 久久夜色tv网站| 久久热这里只有精品在线观看| 91亚洲国产成人久久精品网址 | 精品久久久久久国产| 伊人久久大香线蕉精品不卡| 久久久青草久久久青草| 久久亚洲国产精品成人AV秋霞| 99久久精品无码一区二区毛片| 无码AV中文字幕久久专区| 亚洲伊人久久成综合人影院 | 精品久久久久久国产| 精品无码久久久久久国产| 国产91久久精品一区二区|