1. What do I need to do to set up Eu on a flash drive

My computer is locked down at work, can't install (won't write to registry).

I'd like to set it up on a flash drive so I can do a bit of programming at lunch
etc.

What do I need to do, or can you point me to instructions, thanks.

new topic     » topic index » view message » categorize

2. Re: What do I need to do to set up Eu on a flash drive

S Williamson wrote:
> 
> My computer is locked down at work, can't install (won't write to registry).
> 
> I'd like to set it up on a flash drive so I can do a bit of programming at
> lunch
> etc.
> 
> What do I need to do, or can you point me to instructions, thanks.

You don't need to 'install' Euphoria. The only thing it really does besides add
some file associations, is setup some environment variables for you.
You can do it with a batch file.

ECHO OFF
SETLOCAL
SET EUDIR=flashdrive:\euphoria
SET EUINC=
SET PATH=%PATH%;%EUDIR%\bin
exw.exe %1 %2 %3 %4 %5 %6 %7 %8 %9


Just copy your euphoria folder onto your flash drive (or whatever drive, it
should work from the HDD regardless of restrictions) and use the batch file to
call exw.

You might also be able to modify your user environment variables instead of
needing the batch file. I'm not sure if Eu sets itself up in the system
environment or the user environment.

Chris Bensler
~ The difference between ordinary and extraordinary is that little extra ~
http://empire.iwireweb.com - Empire for Euphoria

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

3. Re: What do I need to do to set up Eu on a flash drive

> My computer is locked down at work, can't install (won't write to registry).
>
> I'd like to set it up on a flash drive so I can do a bit of programming at
> lunch etc.
>
> What do I need to do, or can you point me to instructions, thanks.

I copied my EUPHORIA folder to my flash drive, then created a batch
file called 'session.bat' in the root of the flash drive. I can then
operate within this command line session with Euphoria. When I close
the command line window, all my settings go away. Its 100% portable.


@echo off
echo Warning: Closing this window will end your Euphoria session

REM ** SET ENVIRONMENT VARIABLES
REM ** Note: These will be removed when this script ends.

setlocal
set EUDIR=%CD%EUPHORIA
set EUINC=%EUDIR%\Win32Lib\Include
set PATH=%PATH%;%EUDIR%\BIN;

REM ** START A NEW COMMAND SESSION
cmd

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

4. Re: What do I need to do to set up Eu on a flash drive

Thanks!

Was hoping there would be a way to allow me to associate .exw files with
exw.exe, but this works fine.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu