差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

windowsbatch:windowsbatch [2022/12/31 11:14]
tony [Common]
windowsbatch:windowsbatch [2023/06/25 09:48]
行 1: 行 1:
-{{tag>​WindowsBatch}} 
-====== Windows Batch ====== 
-===== Article List ===== 
-  * [[variable|變數的使用]] 
-  * [[registry|修改註冊檔]] 
-  * [[specail_word|特殊符號]] 
-  * [[getPathCmdLocation|如何取得在%Path%中指令的路徑?​]] 
-  * [[killProcWithCLI|如何根據CommandLine去砍掉你要砍的行程?​]] 
-  * [[addScriptOnstart|在作業系統啟動時執行特定程式]] 
-  * [[addScriptOnShutdown|在作業系統Shutdown時執行特定程式]] 
-  * [[disableIESecurity|Disable IE Security設定]] 
-  * [[searchUsingPort|找尋被佔用的Port]] 
-  * [[waitingConnection|等待網路連線]] 
-  * [[modifyRunningBatch|修改正在執行的Batch]] 
-  * [[sysnative|找不到的msg.exe - 神奇的sysnative]] 
-  * [[edit_env_variable|修改環境變數]] 
-  * [[control_service|管理系統服務]] ​ 
-  * [[output_redirection|輸出的重新導向]] ​ 
-  * [[powershell:​remoteSetting|PowerShell-Remote Setting]] ​ 
-  * [[manageEventLog|管理事件檢視器]] ​ 
-  * [[clearFile|清空檔案的方法]] 
-===== Miscellaneous ===== 
-    Q. 如何echo %1、%2、%*?​ 
-    A. echo %%0就是%0,兩個%%在echo後會變為&​。 
- 
-    Q. CMD預設會找的執行檔是?​ 
-    A. %PATH%的路徑與%PATHEXT%的副檔名。 
-    ​ 
-===== Windows Event Log ID =====    
-  * 開機: 12 
-  * 關機: 13 
-===== Resource ===== 
-==== Common ==== 
-  * [[http://​www.ericphelps.com/​batch/​|Batch Programming]] 
-  * [[http://​www.robvanderwoude.com/​batchfiles.php|Batch files for DOS, OS/2, Windows 95/98, NT 4, 2000 and XP]] 
-  * [[http://​stackoverflow.com/​questions/​3942265/​errorlevel-in-a-for-loop-batch-windows|errorlevel的處理]] 
-  * [[http://​www.windows-commandline.com/​get-file-modified-date-time/​|檔案修改時間]] 
-  * [[http://​www.techsupportalert.com/​content/​quick-and-easy-way-list-all-windows-updates-installed-your-system.htm|list updates]] 
-  * [[https://​social.technet.microsoft.com/​Forums/​windows/​en-US/​0477ceb3-264a-4058-87a9-54217c797317/​easy-way-to-see-if-an-update-is-installed?​forum=w7itproinstall|list updates2]] 
-  * [[http://​rakhesh.com/​windows/​get-a-list-of-recently-installed-windows-updates-via-the-command-line/​|get-a-list-of-recently-installed-windows-updates-via-the-command-line]] 
-  * [[https://​docs.microsoft.com/​zh-tw/​windows-server/​administration/​windows-commands/​msinfo32|抓系統資訊 - msinfo32]] 
-  * [[https://​errorxyz.com/​winserver2019-%E5%AE%89%E8%A3%9D-net-3-5-%E9%8C%AF%E8%AA%A4-0x800f0950-%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%B3%95/​|安裝dot net 3.5的絕招]] 
-==== Policy ==== 
-  * [[http://​www.jb51.net/​article/​28046.htm|Secedit使用方式]] 
-  * [[http://​serverfault.com/​questions/​133104/​how-can-i-edit-local-security-policy-from-a-batch-file|How to edit policy by a batch file?]] 
-==== Unsorted ==== 
-  * [[http://​www.eygle.com/​digest/​2006/​11/​windows_chcp_usage.html|修改主控台字碼]] 
-  * [[http://​windowsxp.mvps.org/​listproc.htm|List all processes and their Command-line parameters]] 
-  * [[http://​blog.csdn.net/​ragic/​article/​details/​5583164|SMIC blocked with the Java process]] 
-  * [[http://​support.microsoft.com/​kb/​313289|使用AT.exe來做備份]] 
-  * [[http://​technet.microsoft.com/​zh-tw/​library/​cc748993(v=ws.10).aspx|排程工作 - schtasks]] 
-  * [[http://​www.krenger.ch/​blog/​windows-server-the-terminal-server-has-exceeded-the-maximum-number-of-allowed-connections/​|遠端桌面因連線數過多的連線方法]] 
-  * [[http://​www.ccy.twbbs.org/​blog/?​p=708|遠端重開機]] 
-  * [[http://​www.techgainer.com/​create-batch-file-automatically-run-administrator/​|讓Batch使用admin執行的兩種方法]] 
-==== PowerShell ==== 
-  * [[http://​ss64.com/​ps/​|PowerShell Command List]] 
-  * [[http://​networkerslog.blogspot.tw/​2013/​09/​how-to-enable-remote-desktop-remotely.html|How to enable RDP?]] 
-  * [[http://​eggeral.blogspot.tw/​2010/​06/​powershell-remote-execution-invoke.html|不需要輸入密碼的方法]] 
-  * [[https://​www.pdq.com/​blog/​determining-disk-type-with-get-physicaldisk/​|Determining Disk Type with Get-PhysicalDisk]] 
-  * [[http://​8thway.blogspot.tw/​2014/​04/​wmi-ssd.html|SSDかどうかをWMIから判別する]] 
-==== WMI ==== 
-  * [[https://​docs.microsoft.com/​zh-tw/​dotnet/​framework/​wcf/​diagnostics/​wmi/​|使用 Windows Management Instrumentation 進行診斷]]