How do I control which version is used to open a .DWS file?
Forum rules
The FAQ is a read-only forum which is in general updated only by employees of Dyalog Ltd. It replaces the FAQ page which existed under http://www.dyalog.com. Rather than rejecting other posts to this forum, such posts will be put in a moderation queue, and moved to a more appropriate forum.
The FAQ is a read-only forum which is in general updated only by employees of Dyalog Ltd. It replaces the FAQ page which existed under http://www.dyalog.com. Rather than rejecting other posts to this forum, such posts will be put in a moderation queue, and moved to a more appropriate forum.
2 posts
• Page 1 of 1
How do I control which version is used to open a .DWS file?
[Edited to put our current advice at the top on 26 October 2017]
Right click on the shortcut which starts Dyalog and choose "Run as administrator".
Run this user command by typing it into the session and hitting enter:
]fileassociations
Please follow the instructions to associate .dws, .dyalog, and .dyapp files with your version.
If you still have problems, please run the following function and contact Dyalog Support.
Vince
If you wish to change the program (for example, an older or newer version of Dyalog) used to open .DWS files from the Windows Explorer then you will need to modify the registry.
1) Start regedit
2) Navigate to HKEY_CLASSES_ROOT\dwsfile\shell
3) Edit the values of the "Open\command" and "Open (do not start)\command" keys.
See the following page which illustrates the registry location.
Two other extensions associated with Dyalog are ".dyalog" and ".dyappp".
For the ".dyalog" extension edit the section HKEY_CLASSES_ROOT\dyalogfile\shell, and for the ".dyapp" extension, HKEY_CLASSES_ROOT\dyappfile\shell
Right click on the shortcut which starts Dyalog and choose "Run as administrator".
Run this user command by typing it into the session and hitting enter:
]fileassociations
Please follow the instructions to associate .dws, .dyalog, and .dyapp files with your version.
If you still have problems, please run the following function and contact Dyalog Support.
checkregistry;reg1;reg2
⎕USING←'' 'System'
checkreg←{⍵=⎕NULL:'No Value'
⎕←⍵.GetValue,⊂''
⍵.Close
}
reg1←Microsoft.Win32.Registry.ClassesRoot.OpenSubKey⊂'dwsfile\shell\open\command'
⎕←'root dwsfile\shell\open\command'
checkreg reg1
reg1←Microsoft.Win32.Registry.ClassesRoot.OpenSubKey⊂'Applications\dyalog.exe\shell\open\command'
⎕←'root Applications\dyalog.exe\shell\open\command'
checkreg reg1
reg1←Microsoft.Win32.Registry.CurrentUser.OpenSubKey⊂'software\Classes\dwsfile\shell\open\command'
⎕←'HKCU software\Classes\dwsfile\shell\open\command'
checkreg reg1
Vince
If you wish to change the program (for example, an older or newer version of Dyalog) used to open .DWS files from the Windows Explorer then you will need to modify the registry.
1) Start regedit
2) Navigate to HKEY_CLASSES_ROOT\dwsfile\shell
3) Edit the values of the "Open\command" and "Open (do not start)\command" keys.
See the following page which illustrates the registry location.
Two other extensions associated with Dyalog are ".dyalog" and ".dyappp".
For the ".dyalog" extension edit the section HKEY_CLASSES_ROOT\dyalogfile\shell, and for the ".dyapp" extension, HKEY_CLASSES_ROOT\dyappfile\shell
-
Morten|Dyalog - Posts: 460
- Joined: Tue Sep 09, 2008 3:52 pm
Re: How do I control which version is used to open a .DWS file?
You can also add shell menus by creating new keys :
1) Start regedit
2) Navigate to HKEY_CLASSES_ROOT\dwsfile\shell
3) Create a key with the name you want to appear, for example :
4) Create a key called
It should look like :
Then when you right click on a .dws file, you should see a new menu :
1) Start regedit
2) Navigate to HKEY_CLASSES_ROOT\dwsfile\shell
3) Create a key with the name you want to appear, for example :
- Code: Select all
Open with v9
4) Create a key called
- Code: Select all
command
- Code: Select all
"C:\Dyalog90\dyalog.exe" "%1"
It should look like :
Then when you right click on a .dws file, you should see a new menu :
- Nicolas|Dyalog
- Posts: 17
- Joined: Wed Sep 10, 2008 9:39 am
2 posts
• Page 1 of 1
Return to Frequently Asked Questions (FAQ)
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group