Skip to primary content
Skip to secondary content

Jerry-Yang's Log

Just another WordPress.com site

Jerry-Yang's Log

主選單

  • 主頁
  • 關於

Tag Archives: shutdown

Howto logout use vbscript

Posted on 2013 年 02 月 06 日 by sc.yang
回應

Should do the trick , just use WshShell to run shutdown command.

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "C:\windows\system32\shutdown.exe /l", 0, false
張貼在 windows | 標記 logout、shutdown、vbs、windows | Leave a reply

近期文章

  • [轉貼] 精選部分肌能貼布的用途
  • 網路線太長訊號衰減,新舊網卡結果大不同!
  • [轉貼] Windows Live Mail 離線工作……….
  • Win2000 重新開機後,設定好的 IP 位址 會跳回 DHCP 模式
  • [轉貼] 解決 Chrome 播 Youtube lag

  • asp.net
  • bash
  • bonding
  • bug
  • c#
  • centos
  • chrome
  • codeigniter
  • command-line
  • convert
  • css
  • dd
  • disk
  • drbd
  • driver
  • easyflow
  • easyflow.net
  • error
  • Excel
  • exchange
  • find
  • firefox
  • freebsd
  • git
  • gridview
  • html
  • ie
  • ie6
  • iframe
  • IIS
  • image
  • index
  • install
  • iscsi-target
  • javascript
  • jquery
  • kvm
  • linux
  • livemail
  • login
  • logout
  • lvm
  • mail
  • mssql
  • mysql
  • nagios
  • nrpe
  • office
  • openfiler
  • outlook
  • partition
  • pdf
  • perl
  • php
  • plugin
  • postfix
  • proxmox
  • python
  • samba
  • size
  • softraid
  • sql
  • squid
  • ssh
  • tool
  • tools
  • tsql
  • ubuntu
  • update
  • vim
  • win7
  • windows
  • word
  • wordpress
  • xp

分類

  • asp.net (46)
  • bash (37)
  • browser (43)
  • css (24)
  • 生活雜記 (7)
  • easyflow (18)
  • freebsd (5)
  • html (44)
  • jquery (30)
  • linux (374)
  • mail (19)
  • network (8)
  • office (33)
  • openbsd (1)
  • perl (8)
  • php (31)
  • python (11)
  • sql (26)
  • squid (4)
  • tools (333)
  • windows (172)
  • wordpress (7)
  • 工作記錄 (111)

其它

  • 註冊
  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.com

文章存檔

在 WordPress.com 建立免費網站或網誌.
隱私權與 Cookie:此網站可使用 Cookie。繼續使用此網站即表示你同意使用 Cookie。
若要瞭解更多資訊,包括如何控制 Cookie,請參閱此處: Cookie 政策