欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Run As Service runassrv.exe 詳細參數第1/2頁

 更新時間:2007年10月15日 20:40:38   作者:  
Run As Service

把任何可執(zhí)行文件(包括批處理和角本)當作系統(tǒng)服務運行的工具

≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
介紹:

  ■ 將任何可執(zhí)行文件作為系統(tǒng)服務運行。
  ■ 開始主要是為了移植一些linux 的 daemon;也可以用于啟動任何應用程序和維護性角本。
  ■ 安靜地運行,除非指定了 Interactive 模式,否則不會彈出任何窗口。
  ■ 無需登陸,系統(tǒng)啟動后自動運行,無需等待用戶登陸完畢。
  ■ 作為附帶的功能,支持啟動、停止和刪除任何系統(tǒng)服務。
  ■ 完整接管系統(tǒng)服務管理器的指令(啟動、停止等等)。運行的程序終止后,自動向服務管理器提交狀態(tài)同時自身退出,不會駐留內存。

≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
1.1.0.628 版新增內容:

  ■ 所有 Action (例如:add / remove 等)無需再加前綴。
  ■ 新增 pause / continue 操作。
  ■ 現在開始,一個 runassrv 服務可以并發(fā)運行多個 /cmdline 指定的應用。
  ■ runassrv.exe 本身不需要放入系統(tǒng)搜索路徑中了。
  ■ 新增 control 操作,向指定的服務發(fā)送控制碼。
  ■ 新增 listsrv 操作,列出所有服務和驅動,支持很多過濾條件。
  ■ 新增 -logfile 和 -loglevel 選項,日志記錄功能。
  ■ 新增 -unstoppable 系統(tǒng)服務管理器將拒絕停止一個以該選項安裝的服務。
  ■ 內存收縮策略,典型情況下內存開銷少于 300KB。
  ■ 解決了在某些系統(tǒng)上 start / stop 命令無效的問題。

≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
1.1.2.803 版新增內容:

  ■ 如果指定了多個 /cmdline 參數,那么服務啟動時,用戶命令將會按照 /cmdline 的指定順序逐個執(zhí)行。
  ■ 每條用戶命令都將等待上條 /cmdline 命令就緒后才開始執(zhí)行,保證有依賴關系的命令可以正常運行。(參見:“關于執(zhí)行就緒”)
  ■ 為每條命令設置默認的“當前工作目錄”參數。例如,有命令:“/cmdline:C:\test\app.exe”,在執(zhí)行該命令時,其當前工作目錄將被設置為“C:\test\”,保證應用程序可以正常訪問配置信息和私有數據。

  ■關于執(zhí)行就緒■ 對于命令行程序(包括批處理和角本),執(zhí)行就緒意味著標準輸入輸出設備已初始化完畢,并且已經進入主程序入口(main());對于圖形界面程序,執(zhí)行就緒意味著主窗體注冊和初始化完畢,程序已經在主循環(huán)處等待接受消息。

≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
幫助屏幕:

C:\Documents and Settings\Administrator>
#runassrv

===========================================================================
  Run As Service Ver 1.1.2.803 by BaiYang / 2004 - 2006, Freeware
===========================================================================
Run any program as a Service

USAGE: runassrv <Action> <Options>
===========================================================================
Actions:
  add          - Add a Service.
  remove       - Remove a Service.
  start        - Start a Service.
  stop         - Stop a Service.
  pause        - Pause a Service.
  continue     - Continue a paused Service.
  control      - Control a service by send it a op-code
  listsrv      - List all installed services on local system
  listgrp      - List all service load order groups on local system (by start
                 order).
  -h           - this screen
===========================================================================
Options:
  -cmdline     - when the service start, witch program you want to run.
  -name        - the service name.
  -dispname    - service's display name in service manager
  -desc        - service's description in service manager
                   DEFAULT: none
  -type        - service type, can be:
                   FileSystemDriver
                   KernelDriver
                   OwnProcess (DEFAULT)
                   ShareProcess
                   InteractiveProcess
                 NOTE: set this option incorrectly may endanger your system!
  -starttype   - service start type, can be:
                   SystemStart
                   BootStart
                   AutoStart (DEFAULT)
                   DemandStart
                   Disabled
                 NOTE: set this option incorrectly may endanger your system!
  -errctl      - service error control policy, can be:
                   ErrorIgnore
                   ErrorNormal (DEFAULT)
                   ErrorSevere
                   ErrorCritical
                 NOTE: set this option incorrectly may endanger your system!
  -group       - specify service load order group
                   DEFAULT: none
  -depen       - names of services or load ordering groups that the system
                 must start before this service, delimited by '/'
                   DEFAULT: none
  -user        - specifies the name of the account under which the service
                 should run.
                   DEFAULT: LocalSystem
  -pass        - contains the password to the account name
                   DEFAULT: none
  -priority    - priority of the program you want to run, can be:
                   Idle
                   BelowNormal
                   Normal (DEFAULT)
                   AboveNormal
                   High
                   RealTime
  -unstoppable - make service unstoppable by system service control manager.
  -opcode      - for "control", specify the operation code.
  -logfile     - specify the logging target.
                   DEFAULT: don't log to file.
  -loglevel    - specify the lowest logging level, can be:
                   DebugOnly (Most Detail)
                   Info
                   Warning
                   Error (DEFAULT)
                   FatalError
                   Disabled (Close Logging Output)
===========================================================================
Special Options With "listsrv":
  -name        - list service name that match the wildcard pattern
                   DEFAULT: *
  -dispname    - service display name's wildcard pattern.
                   DEFAULT: *
  -pid         - service belong to specified process.
                   DEFAULT: any
  -type        - specify service types to be match, delimite by "/".
                   DEFAULT: any
  -starttype   - specify service starttypes to be match, delimite by "/".
                   DEFAULT: any
  -group       - service belong to the load order group
                   DEFAULT: any
  -state       - service's current state, can be:
                   active
                   inactive
                   DEFAULT: any
===========================================================================

相關文章

最新評論