From a2f4ecc4a891106a23586edd92b9d55b8b5da594 Mon Sep 17 00:00:00 2001 From: Danyfirex <17116863+Danyfirex@users.noreply.github.com> Date: Thu, 25 Aug 2022 10:17:34 -0400 Subject: [PATCH] Update README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index c99a241..587e1a2 100644 --- a/README.md +++ b/README.md @@ -53,12 +53,25 @@ Register-FTA "C:\SumatraPDF.exe" .pdf -Icon "shell32.dll,100" ## Additional Instructions +##### Set Microsoft Edge as Default .pdf reader from Windows Command Processor (cmd.exe): +```powershell +powershell -ExecutionPolicy Bypass -command "& { . .\SFTA.ps1; Set-FTA 'MSEdgePDF' '.pdf' }" + +``` + ##### Set Sumatra PDF as Default .pdf reader from Windows Command Processor (cmd.exe): ```powershell powershell -ExecutionPolicy Bypass -command "& { . .\SFTA.ps1; Set-FTA 'Applications\SumatraPDF.exe' '.pdf' }" ``` +##### Set Sumatra PDF as Default .pdf reader from Windows Command Processor (cmd.exe) (Load Script From GitHub Raw URL): +```powershell +powershell -ExecutionPolicy Bypass -command "& { [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/DanysysTeam/PS-SFTA/master/SFTA.ps1'));Set-FTA 'Applications\SumatraPDF.exe' '.pdf' }" + +``` + + ## Release History See [CHANGELOG.md](CHANGELOG.md)