2

I'm using Windows 10 and I wanted .pie files to be opened with a jar file I created, so I used assoc and ftype as follows:

assoc .pie PieLang
ftype PieLang=java -jar pielang.jar "%1"

assoc .pie does return .pie = PieLang, and ftpe PieLang does return PieLang=java -jar pielang.jar "%1", so everything should work.

However, everytime I open a .pie file, no matter if I do it using double click or using CMD, it will always open with Notepad.

Is there any way I can fix that?

EDIT: Now I can't change .py files either. But somehow pdf files it does let me change

EDIT2: It doesn't work on file properties as well. Instead, when I choose a program as default on the menu, it opens on that program one time, but it doesn't change the default

EDIT3: Ramhound's solution doesn't work as I said before.

(Asked in StackOverflow and my question was marked "on hold" and they told me to post my question here, so I did)

Argaman
  • 121
  • 1
  • 3
  • 10

1 Answers1

-1

if you have associeted your file .pie opens automatically with another program, then you have to do : go in settings->system and search app default for type file.(Here you can solve the problem)

Sorry uf the name is different but i have italian language and i don't know which is tne real name on windows 10 in english... i hope this help you