Reply
Thread Tools Display Modes
#1
Old 12-29-2017, 07:09 PM
Member
Join Date: Mar 2002
Location: Trantor
Posts: 11,781
File associations in Win-10.

Under older versions of windows, if you opened the file associations menu, with each file, if you wanted to change the associations, one of the options was to browse until you located the executable (usually an .exe file) you wanted to associate with a given file type. In the latest version of Win-10, it is no longer specify the executable by browsing.

The particular file type I am looking at is .tex and it is associated with something called texworks, which is an editor I have never used. I would like to associate it with the editor I do use, but when I click on it, the only option I am given is that or go to the MS app store. Incidentally, my editor, which I have been using for 33 years is not installed by the MS installer, but by just putting it into a file. It does not show up in the list of apps at all.

Any way around this?
#2
Old 12-29-2017, 08:22 PM
Charter Member
Join Date: Apr 2002
Location: Chicago
Posts: 2,251
They make it annoying, but it is still there.

Right click the file, Open With, select Choose another app, check the Always use this app to open .tex files box, scroll to the bottom and select More apps, scroll to the bottom again and select Look for another app on this PC. Browse to the executable and it should then remember the association.
__________________
#
#3
Old 12-30-2017, 07:45 AM
Member
Join Date: Mar 2002
Location: Trantor
Posts: 11,781
Here is what I did. From settings, I clicked on apps. Then Default apps, then Choose default apps by file type. Then I scrolled down to the .tex level and tried right clicking both the .tex icon and the texworks icon. Nothing. Then I clicked on the texworks icon and a little window opened giving the choice of texworks or an app from the store. I tried right clicking on everything in site to no effect.

There was no Open with choice nor the rest of what you said. The problem, as best as I can guess, is that the editor was not installed by the windows installer and presumably has no registry entry and is not on the list of all the "apps". I just sent MS feedback saying that every upgrade of windows makes it harder and harder to use.
#4
Old 12-30-2017, 07:58 AM
Guest
Join Date: Apr 2001
Location: The tropics
Posts: 7,045
Quote:
Originally Posted by Hari Seldon View Post
Here is what I did. From settings, I clicked on apps. Then Default apps, then Choose default apps by file type. Then I scrolled down to the .tex level and tried right clicking both the .tex icon and the texworks icon. Nothing. Then I clicked on the texworks icon and a little window opened giving the choice of texworks or an app from the store. I tried right clicking on everything in site to no effect.

There was no Open with choice nor the rest of what you said. The problem, as best as I can guess, is that the editor was not installed by the windows installer and presumably has no registry entry and is not on the list of all the "apps". I just sent MS feedback saying that every upgrade of windows makes it harder and harder to use.
If you follow Number's instructions rather that doing what you did, you'll be able to associate the extension as they said. Hint: open a folder in the File Explorer that contains a file with the appropriate file extension.
#5
Old 12-30-2017, 08:05 AM
Guest
Join Date: Aug 2005
Location: Scandinavia
Posts: 1,683
If you right click the file and choose Properties, you can click Change [application to open it], and take it from there, to browse for the app in File Explorer which is presented when you click "Choose another application". At least it works for me, with a file with .tex extension. Or am I misunderstaning the problem?
#6
Old 12-30-2017, 08:54 AM
Guest
Join Date: Oct 2012
Location: enceladus-prime, nibiru
Posts: 210
i may/mayn't be addressing the specific issue you opened with.

keep in mind … if you were to 'force' notepad/wordpad to open the file by changing file-association … each specific *.tex file probably would display only the source-code equivalent … it will not display as the program was initially designed for. not only that … the *.tex extension serves more than one program [purportedly] … not only for latex files (latex-project.org); but also for texture-files extensible in another program … and datasheet-files extensible in yet another program.
whatis.techtarget.com:
" LaTex TEX files are used in the fields of computer science electrical engineering and physics. TEX files can contain text, mathematical symbols, mathematical expressions and graphics. LaTex files can also have a LATEX file extension. The TEX file extension is also used for texture files and Idealist datasheet files. "
ref:
http://whatis.techtarget.com/filefor...cientific-Word
https://stackoverflow.com/questions/...pen-a-tex-file
__________________
at one point in time, i was offered a wooden scipio (handstaff) after a time, i whittled that cane down until it became one ginormous toothpick.

Last edited by albino_manatee; 12-30-2017 at 08:58 AM.
#7
Old 12-30-2017, 09:18 AM
Guest
Join Date: May 2016
Posts: 1,669
When I open a .tex file in texworks I get the file in an editor window on the left half of the screen, and an output preview window on the right half. If I force it to be opened in, say, Vim or Notepad++, I just get the file in the usual Vim or Notepad window. The file itself is a plain text file, which I assume the OP just wants to load up in his favourite text editor by default with a click.
#8
Old 12-30-2017, 12:42 PM
Member
Join Date: Mar 2002
Location: Trantor
Posts: 11,781
Quote:
Originally Posted by Terminus Est View Post
If you follow Number's instructions rather that doing what you did, you'll be able to associate the extension as they said. Hint: open a folder in the File Explorer that contains a file with the appropriate file extension.
The hint was what I needed. I didn't understand that I was to right click on some random .tex file, but that was what did it. Sorry, I misunderstood, but thanks for the correction. I tried it and it worked just like Number said. I then tried it on another .tex file and it loaded in my editor. Which, just for the record, is called kedit and I have tuned it for 33 years to be a super editor for .tex files. Probably, had I done that with any other editor, I would now be wedded to that.
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:08 PM.

Send questions for Cecil Adams to: [email protected]

Send comments about this website to:

Terms of Use / Privacy Policy

Advertise on the Straight Dope!
(Your direct line to thousands of the smartest, hippest people on the planet, plus a few total dipsticks.)

Copyright 2018 STM Reader, LLC.

Copyright © 2017
Best Topics: ginger rogers nude humidity sinus concorde pic titanic suction trivex lenses problems celebrity movie achive bogue slang fig newton song what is uniqua poltergeist pool connect tab 3 to tv bang for your buck origin what are lantern mantles made of tangle free telephone cord 2 liter bottle suppressor how do you spell allison how to pronounce cuchulainn do olympic coaches get medals can a pig eat a human how to get a checkbook wells fargo soda good for sore throat how much weight can my floor support