Set file extensions after install by script #87
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: WINDOWS/w10install#87
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The goal is to assign file extensions automatically by a script. This has already been done for Firefox. No we need to do that also for .jpg and .png and so forth.
Beware! For ".txt" you can do this (like in old times) with "assoc" and "ftype" BUT NOT FOR image/photo files! For these you must do it with DISM (or some other method). See here:
https://www.itechtics.com/set-default-apps/
Reason: Irfan View CAN NOT set this for windows 10! (see screenshot).
https://www.winhelponline.com/blog/set-default-browser-file-associations-command-line-windows-10/
We will use THIS:
https://danysys.com/set-file-type-association-default-application-command-line-windows-10-userchoice-hash-internal-method/
Compiled with PureBasic from Source:
https://raw.githubusercontent.com/DanysysTeam/SFTA/master/SFTA.pb
SFTA tested and integrated.
commit
ad5abad9f1
(HEAD -> master, origin/master, origin/HEAD)Author: Michael H.G. Schmidt michael@schmidt2.de
Date: Thu Jan 19 14:31:37 2023 +0100
SetUserFTA and the binary SFTA is ONLY per user.
Crap.
Please evaluate: https://learn.microsoft.com/en-us/archive/blogs/windowsinternals/windows-10-how-to-configure-file-associations-for-it-pros
Microsoft "solution" doesn't work with 20H2.
fixed:
commit
41a12df810
(HEAD -> master, origin/master, origin/HEAD)Author: Michael H.G. Schmidt michael@schmidt2.de
Date: Fri Jan 20 22:33:32 2023 +0100