做个批处理关闭domino服务器,怎么做

挑大梁 2005-01-27 09:48:42
如果,突出其想
...全文
139 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
挑大梁 2005-01-28
  • 打赏
  • 举报
回复
testing during
jeremyruan 2005-01-28
  • 打赏
  • 举报
回复
直接在domino服务器配置文档中配置定时执行的程序
程序名:nserver

命令行:-c quit
挑大梁 2005-01-28
  • 打赏
  • 举报
回复
thanks everyone
挑大梁 2005-01-27
  • 打赏
  • 举报
回复
.bat如下,好像不起作用
rem shudown domino server
D:\Lotus\domino\nserver.exe -c quit
rem shudown success!!
bxzg 2005-01-27
  • 打赏
  • 举报
回复
嘿嘿
ibm123 2005-01-27
  • 打赏
  • 举报
回复
LS直接用:

q=shell("c:\lotus\domino\nserver.exe -c quit")

或者创建一个BAT文件:
c:\lotus\domino\nserver.exe -c quit
wx0426 2005-01-27
  • 打赏
  • 举报
回复
用vbscript写个小程序就可以了。
主要的代码就是
Set oShell = WScript.CreateObject ("WSCript.shell")
strCommand = "cmd /K D: & CD D:\Lotus\Domino"
strCommand = strCommand & " & " & "nserver.exe -C ""quit"""
strCommand = strCommand & " & " & "EXIT"
RTNCD=oShell.run(strCommand, 7, true)
  • 打赏
  • 举报
回复
是个好提议
可惜偶也不会
挑大梁 2005-01-27
  • 打赏
  • 举报
回复
是不是没啥意思
xjunhua 2005-01-27
  • 打赏
  • 举报
回复
D:\Lotus\domino\nserver.exe -c "exit"

或者直接搞一个 nserver的快捷方式,然后目标写成 D:\Lotus\domino\nserver.exe -c quit 这样就可以了

535

社区成员

发帖
与我相关
我的任务
社区描述
企业开发 Exchange Server
社区管理员
  • 消息协作社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧