GithubHelp home page GithubHelp logo

ps-sfta's Introduction

PowerShell SFTA

Latest Version MIT License Made with Love

PowerShell Set File/Protocol Type Association Default Application Windows 10/11

Features

  • Set File Type Association.
  • Set Protocol Association.
  • Get File Type Association.
  • List File Type Association.
  • Get Protocol Type Association.
  • List Protocol Type Association.
  • Register Application.
  • Unregister Application.

Usage

Type Get-Help command for information
Get-Help .\SFTA.ps1 -full

Basic Usage

Set Acrobat Reader DC as Default .pdf reader:
Set-FTA AcroExch.Document.DC .pdf
Set Sumatra PDF as Default .pdf reader:
Set-FTA Applications\SumatraPDF.exe .pdf
Set Google Chrome as Default for http Protocol:
Set-PTA ChromeHTML http
Register Application and Set as Default for .pdf reader:
Register-FTA "C:\SumatraPDF.exe" .pdf -Icon "shell32.dll,100"

Additional Instructions

Set Sumatra PDF as Default .pdf reader from Windows Command Processor (cmd.exe):
powershell -ExecutionPolicy Bypass -command "& { . .\SFTA.ps1; Set-FTA 'Applications\SumatraPDF.exe' '.pdf' }"

Release History

See CHANGELOG.md

License

Usage is provided under the MIT License.

Copyright © 2022, Danysys.

ps-sfta's People

Contributors

craysiii avatar danyfirex avatar larpico avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.