Re: setting an editor for Eu pgms in "Open With" on Vista (and delete same also)
- Posted by jeremy (admin) Sep 06, 2011
- 1187 views
Can you use euc to translate the editor into an executable? Then associate .e, .ex, .exw to the binary?
There is also PATHEXT which is available on NT and up. Doing something such as:
PATHEXT=%PATHEXT%;.ex
Would tell Windows that .ex files are executable. It then looks for the association of what .ex files should be run with and runs them directly. From the command prompt or from Windows shell you could execute programs directly. For example:
C:\euphoria\demo> PATHEXT=%PATHEXT%;.ex C:\euphoria\demo> allsorts Number of completed sorts for 500 items bubble_sort 137 simple_sort 301 insertion_sort 607 merge_sort 1294 quick_sort 2300 hybrid_sort 5051 great_sort 6266 shell_sort 5782 bucket_sort 51958
Jeremy