cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Error opening XML files with double-click

AntonioSD
1-Newbie

Error opening XML files with double-click

Running Arbortext Editor ver 5.2 with Inmedius Authorpro S100D on Windows XP Professional Version 5.1.2600 Service Pack 2 Build 2600 Problem: When I double-click an xml file, Windows attempts to open it with Internet Explorer if IE is already open. If IE is not open, Windows displays a 'can not find file' error message. Note that Arbortext Editor is the assigned program to start when xml files are selected. This problem is Arbortext-specific, because when I re-assign xml files in Windows to open with a different program (a text editor), they open correctly every time via double click method. I'm able to open xml files normally in Arbortext with File-->Open command. Has anyone else had this problem?
3 REPLIES 3
lfraley
6-Contributor
(To:AntonioSD)

This is a windows problem. You need to reset the association. IIRC, Right click, choose "Open With" and then choose Arbortext and be sure to click the box that says "Always use this program to open files of this type." (I'm paraphrasing the whole thing here..)

Try Liz's suggestion.

Know, however, that Microsoft updates can "steal" the association back. Also, some third party applications will interfere (Documentum Webtop, for example) with and/or supercede normal Windows file associations.

We lauch Arbortext Editor via a batch file in order to control a number of environment variables, Arbortext APTxxxx variables, etc. One of the things we do if FORCE WITH A BIG DAMN HAMMER the .xml association to associate with Editor. I don't recommend this unless, of course, you can't get where you're going any other way. (You can probably get by without the registry lines except the icon for XML might not be the Editor icon.)

assoc .xml=xmlfile
reg add HKEY_CLASSES_ROOT\xmlfile\DefaultIcon /ve /d "C:\Program Files\Arbortext\Editor\bin\epic.exe,0" /f
reg delete HKEY_CLASSES_ROOT\xmlfile\shell\Open /f
ftype=""
ftype xmlfile="C:\Program Files\Arbortext\Editor\bin\epic.exe" "%%1"

Please also look into the adepters mailing list. Details can be found on adepters.org. Many, many, many experienced Arbortext users answer questions there 24/7/365.

Correcting an error in my batch file code.

ftype=""

should be:

ftype xmlfile=""

This error snuck into one of my environments and I copy/pasted here before we caught/corrected it.

Announcements