1.    08 Jun 2016 #1
    Join Date : Jun 2016
    Posts : 2
    Windows 10 Pro

    How do you edit default program for file type to include "/" option?


    Is there a way in 10 to add modifiers or switches to a default program?

    For example, I would like a .xlsx Microsoft Excel file to open with C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" /e "%1 (That is, adding " /e "%1 to the command line of the .exe file)

    Control Panel\All Control Panel Items\Default Programs\Set Associations lets me change the default program, but not HOW the program opens.
    When I click on a file type, a pop up only gives me the option of keeping the existing default, or looking for a different app. But no right-click option or otption to modify how the program opens (as I believe there was in XP & 7).


    (Also, is there a better way I could have described the issue in the subject line?)

    Thank you,
    Ed
      My ComputerSystem Spec
  2.    08 Jun 2016 #2
    Join Date : Mar 2015
    Philadelphia
    Posts : 1,174
    Windows 10 Pro x64

    I would think you should be able to edit the shortcut to the executable with command switches or create a batch file to run using those same switches. Nothing should have changed with this process in Windows 10.
      My ComputerSystem Spec
  3.    11 Jun 2016 #3
    Join Date : Jun 2016
    Posts : 2
    Windows 10 Pro
    Thread Starter

    Hadn't thought of redirecting the shortcut to a batch file. Thanks! (But I sure wish there was still a way to do it directly.)

    I actually found a way to do what I wanted by changing registry keys, though, so I didn't have to do it for this case.

    Thanks,
    Ed
      My ComputerSystem Spec
  4.    11 Jun 2016 #4
    Join Date : Nov 2015
    Posts : 4,891
    windows 10 Home threshold2

    Quote Originally Posted by evx View Post
    Hadn't thought of redirecting the shortcut to a batch file. Thanks! (But I sure wish there was still a way to do it directly.)

    I actually found a way to do what I wanted by changing registry keys, though, so I didn't have to do it for this case.

    Thanks,
    Ed
    Would you share with us on how to change the registry keys ?
    Thank you.
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
Can't edit tiles in start menu. Only "more" option appears.
Hello, I'm new here on the forum looking for some help. I've been searching on google for quite some time and I can't find any answers. My problem is that when I right-click on a tile in the start-menu I only get the "more" option and thus I can...
General Support
Solved Power Option for "Turning off display" remains at "15 minutes"
I am running Windows 10 Professional 64 bit. Whenever I set the option "Turn off the display" to "Never", it reverts back to the default "15 minutes". This is under the "High Performance" profile. I have never, since Windows 3.11, ever had a setting...
AntiVirus, Firewalls and System Security
"Open with" Right click context menu lacks browse for program option.
Trying to figure this out in Windows 10. I have a file on my system, and windows doesn't yet know what program to open it with. When I right click the file and select "open with", the dialogue is quite different. Now I no longer have the option...
General Support
How to change "File type" (aka file type description) of files
Hello everyone I would like to edit the file type descriptions of a number of file types on my computer. I mean the text that is written in the "File Type" column. For example, after installing Opera browser, all HTML and HTM files have the...
General Support
"share with" file option has a strange string of numbers and letters
When I click on a folder to share it, it gives me the usual homegroup options. However, there is another option now and I don't know what it is. It's a string of 20 numbers and letters. See the attached picture for reference. Thanks
Network and Sharing
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 16:51.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums