How to install Euphoria on a USB flash drive?
- Posted by "Juergen Luethje" <j.lue at gmx.de> Nov 23, 2005
- 570 views
Hi all, I would really like to carry all my important programs and documents with me in my pocket! This includes Euphoria, of course. So how can Euphoria be installed on a USB flash drive? As I see it, the problem is how to set the PATH, EUDIR and EUINC environment variables properly. When I connect my USB flash drive to the computer of a friend, of course I don't want to edit the 'autoexec.bat' file and reboot the system in order to be able to run Euphoria. I would appreciate it very much, if someone knows a solution right now for Eu 2.5 (or below). If there is no solution currently, maybe something could be done in the next Euphoria release? I think the EUDIR and EUINC variables are "only" used by Euphoria itself. So as far as I can see it's not necessary to implement them as environment variables. The same effect can be achieved by a file say '.....\euphoria\bin\euphoria.ini', that contains something like: [Directories] EUDIR=... EUINC=... If I am right, this way of setting the variables is more portable than setting these variables as environment variables of the OS. So the remaining problem is the PATH. Well, if there is no solution, I think for me personally this would be not a big problem (I only talk about DOS/Windows, since I know almost nothing about Linux/FreeBSD), becazse I can use *relative* names in batch files to call my Euphoria programs on the USB flash drive. What do you all think? Regards, Juergen -- A: Because it considerably reduces the readability of the text. Q: Why? A: Top posting. Q: What is annoying in e-mail and news?