# win啟動查詢修改 ``` co wmic startup get caption, command reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" reg query "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" ``` ``` bat rem 查詢執行檔位置 reg query "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v "abc" rem 修改 reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v "abc" /t REG_SZ /d ";C:\Program Files\abc\abc.exe" /f ```