1. windows install question

is there a reason that the euphoria windows installer places everything in c:\euphoria and not c:\program files\euphoria

new topic     » topic index » view message » categorize

2. Re: windows install question

The install directory is set to C:\euphoria by default because Watcom used to have some issues when using EUPHORIA from a place with spaces. This no longer is a problem. I put EUPHORIA under C:\Program Files\4.0.4oe without problems.

A rogue process running as you can modify anything under C:\EUPHORIA, but if it is installed under C:\Program Files\ there is a bit more protection (in Windows Vista) for files stored in there. This is good for security. I encourage you to install under C:\Program Files\EUPHORIA.

Shawn Pringle

new topic     » goto parent     » topic index » view message » categorize

3. Re: windows install question

What I should have written is that its default install location was C:\EUPHORIA because EUPHORIA predates the convention of installing under 'C:\Program Files'. It had remained so for so long in part because of inertia and in part because EUPHORIA generates scripts for calling other programs which have problems understanding paths with spaces. Now, we send these programs the short name version of the paths so the C compilers can find euphoria.h and the link-time library.

new topic     » goto parent     » topic index » view message » categorize

4. Re: windows install question

SDPringle said...

What I should have written is that its default install location was C:\EUPHORIA because EUPHORIA predates the convention of installing under 'C:\Program Files'. It had remained so for so long in part because of inertia

Yes, a big part of this was DOS support. Staying in the root directory meant compatibility with older versions of MS-DOS, DR-DOS, FreeDOS, etc. which don't have the alternative installation directory.

Since DOS support was dropped, changing the default for Windoze makes a lot of sense here. To me, this is the last step that we are moving away from DOS and will never return to it or revive support for it.

SDPringle said...

and in part because EUPHORIA generates scripts for calling other programs which have problems understanding paths with spaces.

I don't think this is actually true. But even if it is, I agree that your fix below should be really easy to implement - and is no barrier to changing the default installation directory.

SDPringle said...

Now, we send these programs the short name version of the paths so the C compilers can find euphoria.h and the link-time library.

new topic     » goto parent     » topic index » view message » categorize

5. Re: windows install question

jimcbrown said...
SDPringle said...

and in part because EUPHORIA generates scripts for calling other programs which have problems understanding paths with spaces.

I agree that your fix below should be really easy to implement

SDPringle said...

Now, we send these programs the short name version of the paths so the C compilers can find euphoria.h and the link-time library.

The better solution is that if the path contains spaces, enclose it in quotes. Otherwise you'll end up with error messages such as cannot open C:\Progra~1\M56457~3\blah. Standard Microsoft Office, for example, creates multiple "Microsoft Office YYYY " followed by Access/Excel/Project/Visio/Word/etc directories and they really do end up with utterly indecipherable short names. Plus, one day perhaps, Microsoft will actually get round to ripping out those short names completely.

Pete

Edit: I just tried creating a bunch of new folders and got this from dir /x:

28/04/2012  18:20    <DIR>          NEWFOL~1     New Folder 
28/04/2012  18:20    <DIR>          NEWFOL~2     New Folder (2) 
28/04/2012  18:20    <DIR>          NEWFOL~3     New Folder (3) 
28/04/2012  18:20    <DIR>          NEWFOL~4     New Folder (4) 
28/04/2012  18:20    <DIR>          NEF71F~1     New Folder (5) 
28/04/2012  18:20    <DIR>          NEF72F~1     New Folder (6) 
28/04/2012  18:20    <DIR>          NEF73F~1     New Folder (7) 
28/04/2012  18:21    <DIR>          NEF74F~1     New Folder (8) 
28/04/2012  18:21    <DIR>          NEF75F~1     New Folder (9) 
28/04/2012  18:21    <DIR>          NE3CF9~1     New Folder (10) 

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu