DanysysTeam / PS-SFTA

PowerShell Set File Type Association
253 stars 53 forks source link

Select an app to open this . file prompt #31

Open xd003 opened 7 months ago

xd003 commented 7 months ago

I have always noticed that even after setting default association for an app using the script, when opening any file for first time, it still always prompts me to select an app to open the file

For instance, i have set .txt files to be opened by sublime text by default but i still get the prompt as evident from my screenshot attached below, is this normal ? Register-FTA "C:\Program Files\Sublime Text\sublime_text.exe" ".txt"

image

n00mkrad commented 1 month ago

+1

Any fix?

xd003 commented 4 weeks ago

@Danyfirex any clue on this one ?

Danyfirex commented 4 weeks ago

Does this happen with any extensions? I don't have access to Windows 11 at the moment so I won't be able to check deeply for now.

n00mkrad commented 3 weeks ago

Does this happen with any extensions? I don't have access to Windows 11 at the moment so I won't be able to check deeply for now.

I think it happens with extensions that either have a) no association yet b) an invalid association (missing executable etc) c) a new program that supports this extension