คำสั่งสำหรับติดตั้ง Notepad-- โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id ndd.Notepad-- -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ndd.Notepad-- -e --silentwinget uninstall --id ndd.Notepad-- -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (Inno Setup) · ผู้ใช้ปัจจุบัน · en-US
ติดตั้งแบบเงียบ
Notepad--v3.7.2-plugin-Installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-กำหนดโฟลเดอร์เอง
Notepad--v3.7.2-plugin-Installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\notepad"64 บิต · EXE (Inno Setup) · ผู้ใช้ปัจจุบัน · zh-CN
ติดตั้งแบบเงียบ
Notepad--v3.7.2-plugin-Installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-กำหนดโฟลเดอร์เอง
Notepad--v3.7.2-plugin-Installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\notepad"64 บิต · EXE (Inno Setup) · ผู้ใช้ทุกคน · en-US
ติดตั้งแบบเงียบ
Notepad--v3.7.2-plugin-Installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-กำหนดโฟลเดอร์เอง
Notepad--v3.7.2-plugin-Installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\notepad"64 บิต · EXE (Inno Setup) · ผู้ใช้ทุกคน · zh-CN
ติดตั้งแบบเงียบ
Notepad--v3.7.2-plugin-Installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-กำหนดโฟลเดอร์เอง
Notepad--v3.7.2-plugin-Installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\notepad"PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-notepad.ps1
$url = 'https://github.com/cxasm/notepad--/releases/download/notepad-v3.7.2/Notepad--v3.7.2-plugin-Installer.exe'
$sha256 = 'DD983460AAE57101F5279F95569B62A5702245D0589DCBF43AD45A1C7166063A'
$file = Join-Path $env:TEMP 'Notepad--v3.7.2-plugin-Installer.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-notepad.ps1
$url = 'https://gitee.com/cxasm/notepad--/releases/download/v3.7.2/Notepad--v3.7.2-plugin-Installer.exe'
$sha256 = 'DD983460AAE57101F5279F95569B62A5702245D0589DCBF43AD45A1C7166063A'
$file = Join-Path $env:TEMP 'Notepad--v3.7.2-plugin-Installer.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-notepad.ps1
$url = 'https://github.com/cxasm/notepad--/releases/download/notepad-v3.7.2/Notepad--v3.7.2-plugin-Installer.exe'
$sha256 = 'DD983460AAE57101F5279F95569B62A5702245D0589DCBF43AD45A1C7166063A'
$file = Join-Path $env:TEMP 'Notepad--v3.7.2-plugin-Installer.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-notepad.ps1
$url = 'https://gitee.com/cxasm/notepad--/releases/download/v3.7.2/Notepad--v3.7.2-plugin-Installer.exe'
$sha256 = 'DD983460AAE57101F5279F95569B62A5702245D0589DCBF43AD45A1C7166063A'
$file = Join-Path $env:TEMP 'Notepad--v3.7.2-plugin-Installer.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait