目錄表
Windows Batch
Article List
Miscellaneous
Windows Event Log ID
Resource
Common
Policy
Unsorted
PowerShell
WMI
WindowsBatch
Windows Batch
Article List
變數的使用
修改註冊檔
特殊符號
如何取得在%Path%中指令的路徑?
如何根據CommandLine去砍掉你要砍的行程?
在作業系統啟動時執行特定程式
在作業系統Shutdown時執行特定程式
Disable IE Security設定
找尋被佔用的Port
等待網路連線
修改正在執行的Batch
找不到的msg.exe - 神奇的sysnative
修改環境變數
管理系統服務
輸出的重新導向
PowerShell-Remote Setting
管理事件檢視器
清空檔案的方法
Miscellaneous
Q. 如何echo %1、%2、%*? A. echo %%0就是%0,兩個%%在echo後會變為&。
Q. CMD預設會找的執行檔是? A. %PATH%的路徑與%PATHEXT%的副檔名。
Windows Event Log ID
開機: 12
關機: 13
Resource
Common
Batch Programming
Batch files for DOS, OS/2, Windows 95/98, NT 4, 2000 and XP
errorlevel的處理
檔案修改時間
list updates
list updates2
get-a-list-of-recently-installed-windows-updates-via-the-command-line
抓系統資訊 - msinfo32
安裝dot net 3.5的絕招
(但我還是失敗了)
Policy
Secedit使用方式
How to edit policy by a batch file?
Unsorted
修改主控台字碼
List all processes and their Command-line parameters
SMIC blocked with the Java process
使用AT.exe來做備份
排程工作 - schtasks
遠端桌面因連線數過多的連線方法
遠端重開機
讓Batch使用admin執行的兩種方法
PowerShell
PowerShell Command List
How to enable RDP?
不需要輸入密碼的方法
Determining Disk Type with Get-PhysicalDisk
SSDかどうかをWMIから判別する
WMI
使用 Windows Management Instrumentation 進行診斷