1. Small bug in Eu4 installer ... I think

Is it the case the the installer (for Windows) creates an ASSOC/FTYPE pair for .ex files and .exw files?

	>ASSOC .ex 
	.ex=EUConsoleApp 
 
	>ASSOC .exw 
	.exw=EUWinApp 
 
	>FTYPE EUConsoleApp 
	EUConsoleApp="c:\euphoria\bin\eui.exe" "%1" 
 
	>FTYPE EUWinApp 
	EUWinApp="c:\euphoria\bin\euiw.exe" "%1" 

I don't have a problem with this EXCEPT that this is only good for scripts which don't rely on extra parameters on the command line. If the rest of the command line it to be available then the FTYPE needs to be changed as below

	>FTYPE EUConsoleApp="c:\euphoria\bin\eui.exe" "%1" %* 
	EUConsoleApp="c:\euphoria\bin\eui.exe" "%1" %* 
 
	>FTYPE EUWinApp="c:\euphoria\bin\euiw.exe" "%1" %* 
	EUWinApp="c:\euphoria\bin\euiw.exe" "%1" %* 

It could be that the installer does nothing like this, and it's an artifact of someone else's fiddling. It's pretty useful, being able to type

	script.ex param param 
at the command line. It's a bit like the shebang thing in *n*x. Adding .ex to PATHEXT makes even the .ex redundant.

Kind regards,
Bruce

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu