Can you automate changing default application for a file type?

Page 2 of 2 FirstFirst 12
  1.    #11

    dalchina said: View Post
    What's your Windows build? (Win key + r, winver). (Sadly still not a forum requirement).


    Try restarting... and if it changes, try disabling fast startup if enabled and repeat the process.
    Build is 17134.706. I tried rebooting but the setting didn't change.
      My ComputerSystem Spec

  2.    #12

    Current build 1803. Interesting it's not consistent. I suggest there's a trigger there somewhere that's causing it to flip.. see if you can identify it. Make sure you have a pdf file icon visible as much as possible, and try to note when it changes indicating the association has changed.
      My ComputersSystem Spec

  3.    #13

    dalchina said: View Post
    Current build 1803. Interesting it's not consistent. I suggest there's a trigger there somewhere that's causing it to flip.. see if you can identify it. Make sure you have a pdf file icon visible as much as possible, and try to note when it changes indicating the association has changed.
    I'll keep an eye out, but if the trigger isn't on either of the obvious occasions — system startup and starting the app — then it may be very difficult to spot. This brings me back to my original question: As a workaround, could I write a shell script to change the default handler for pdf and run that on a schedule?
      My ComputerSystem Spec

  4.    #14

    If you look here:
    Restore Default File Type Associations in Windows 10 | Tutorials
    and find the pdf link - a reg file-

    That is written to reset the default to Edge.

    You could look at your registry, modify the above..

    Or perhaps simply create a reg file from the relevant key and apply that at a time of your choosing.

    Experiment carefully.
      My ComputersSystem Spec

  5.    #15

    After doing a bit or research, it seems that I ought to be able to do something using the assoc and ftype commands in a cmd shell, but I can't seem to get them to work.
      My ComputerSystem Spec


 
Page 2 of 2 FirstFirst 12

Related Threads
I have many, many photo and video files separated into many subfolders. I'd like to change all of certain types of files to a different view: all video files to extra large icons, for instance. The trouble is, I don't want to change the icon for the...
Hello. My first post and am hoping to get some help. I've had Office 2003, 2007 and 2013 running successfully for some time. Recently, I installed Office 365 CRT. I first had to uninstall 2013 (msi version). I haven't been using 2007, so I...
Default apps by file type in Software and Apps
Hello, Most of my programs are not installed in the system, they are what called 'portables'. They are unzipped into a folder (not on "C"), made a shortcut on the desktop and it works fine for me. In the control panel I want to set "Default apps...
I some how changed file type .dst to open with Corel Draw. I need to change it back to unknown application. I am operating with Windows 10. I have tried going through control panel/default programs/ however it forces me to pick an application, no...
Solved Need help changing file type in Software and Apps
Hello, I'm having a problem where I'm unable to choose "Save as type: All files", in order to change the format of a document using a word processor. I do not have Microsoft Word, but I've tried this with both WordPad and LiberOffice Writer and...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:21.
Find Us