د FileCommand بې پوښتنې نصبولو، بیا لرې کولو او د ځای پر ځای کولو وسایلو له لارې د پېژندلو کمانډونه. کمانډ یوازې هغه وخت ښودل کېږي چې ډاډمن وي: له مانیفسټ څخه یا د نصبوونکي ټکنالوژۍ له لیکل شوي اصلي حالت څخه.
اړوند لارښود: د چوپه نصب سویچونه: MSI، NSIS، Inno Setup · پروګرام د ریجسټري یا PowerShell په مرسته لرې کړئ
د winget سره
PowerShell
winget install --id BigHatGroup.FileCommand -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BigHatGroup.FileCommand -e --silentwinget uninstall --id BigHatGroup.FileCommand -e --silentد نصبوونکي له مخې
64-bit · EXE (WiX Burn) · اوسنی کارن
چوپه نصب
FileCommandSetup.exe /quiet64-bit · EXE (WiX Burn) · ټول کارنان
چوپه نصب
FileCommandSetup.exe /quiet InstallScope=perMachinePowerShell: ډاونلوډ، تایید، نصب
رسمي فایل ډاونلوډوي، SHA256 یې ګوري او په چوپه توګه یې نصبوي.
install-filecommand.ps1
$url = 'https://github.com/kkaminsk/FileCommand/releases/download/v0.1.5/FileCommandSetup.exe'
$sha256 = '0476AE3B535BD868F7B97C2D845C0339F6E09C5964C60CED3EE0E1C1744604B8'
$file = Join-Path $env:TEMP 'FileCommandSetup.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 '/quiet' -Wait install-filecommand.ps1
$url = 'https://github.com/kkaminsk/FileCommand/releases/download/v0.1.5/FileCommandSetup.exe'
$sha256 = '0476AE3B535BD868F7B97C2D845C0339F6E09C5964C60CED3EE0E1C1744604B8'
$file = Join-Path $env:TEMP 'FileCommandSetup.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 '/quiet InstallScope=perMachine' -Wait