1. Still no luck...
- Posted by dstanger at belco.bc.ca Apr 28, 2001
- 473 views
Hello all and thanks for the many responses. Here are the responses to your queries for more information: I am using Windows 95 as my OS. I added the following to my AUTOEXEC., saved, and rebooted, to no effect: path=%path%;c:\euphoria\bin set eudir=c:\euphoria I am using ED, which came with the Public Domain edition of Euphoria that I downloaded, as an editor. I installed Euphoria by unzipping it using WINZIP into c:\Euphoria and then doubleclicking install.bat. When I attempt to run a Euphoria program using EXW.exe (from Windows) or EX.exe (from DOS) it simply says "Can't open [file name.ext]". I must confess that I feel like an idiot. I am certainly starting off on the wrong foot! ;) Many thanks, David
2. Re: Still no luck...
- Posted by Derek Parnell <ddparnell at bigpond.com> Apr 29, 2001
- 474 views
----- Original Message ----- From: <dstanger at belco.bc.ca> To: "EUforum" <EUforum at topica.com> Subject: Still no luck... > > I am using Windows 95 as my OS. Please accept my condolances > I added the following to my AUTOEXEC., saved, and rebooted, to no effect: > path=%path%;c:\euphoria\bin > set eudir=c:\euphoria Looks fine. > I am using ED, which came with the Public Domain edition of Euphoria that I > downloaded, as an editor. > > I installed Euphoria by unzipping it using WINZIP into c:\Euphoria and then > doubleclicking install.bat. Still fine. > When I attempt to run a Euphoria program using EXW.exe (from Windows) or > EX.exe (from DOS) it simply says "Can't open [file name.ext]". Well the message certainly comes from Euphoria so you're getting that far anyhow. Which directory are you in when you run the Euphoria command? Have you confirmed via the DIR command that the file you are trying to run with Euphoria actually exists? What is the exact text of the command you are typing into the DOS prompt? What s the exact text of the message returned by the above? The DOS Euphoria (ex.exe) assumes the ".EX" extention if you don't supply one, while the Windows version assumes ".EXW" > I must confess that I feel like an idiot. I am certainly starting off on the > wrong foot! ;) Hang in there 'cos Euphoria is worth the effort. ------ Derek Parnell Melbourne, Australia "To finish a job quickly, go slower."
4. Re: Still no luck...
- Posted by "Thomas Parslow (PatRat)" <patrat at rat-software.com> Apr 29, 2001
- 445 views
> Hello all and thanks for the many responses. > > Here are the responses to your queries for more information: > > I am using Windows 95 as my OS. > > I added the following to my AUTOEXEC., saved, and rebooted, to no effect: > path=%path%;c:\euphoria\bin > set eudir=c:\euphoria > > I am using ED, which came with the Public Domain edition of Euphoria that I > downloaded, as an editor. > > I installed Euphoria by unzipping it using WINZIP into c:\Euphoria and then > doubleclicking install.bat. > > When I attempt to run a Euphoria program using EXW.exe (from Windows) or > EX.exe (from DOS) it simply says "Can't open [file name.ext]". > > I must confess that I feel like an idiot. I am certainly starting off on the > wrong foot! ;) > > Many thanks, > David Ok, couple of things, you should unzip the file you download into a directory other than c:\euphoria\ then run install.bat to install it to the c:\euphoria\, this could be the problem... Also, try typing the following at the dos prompt: echo %eudir% It should print: c:\euphoria Then type: path It should print a list of paths separated by semi-colons, something like this: PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\euphoria\bin;C:\PROGRA ~1\Distinct;C:\PROGRA~1\COMMON~1\DISTIN~1;C:\PROGRA~1\MICROS~3\Office;C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Vis ual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\To ols;C:\Program Files\Microsoft Visual Studio\VC98\bin Make sure it contains c:\euphoria\bin If it still don't work then let us know, I'm sure we'll find out what's wrong eventually :) Thomas Parslow (PatRat) ICQ #:26359483 Rat Software http://www.rat-software.com/ Please leave quoted text in place when replying
5. Re: Still no luck...
- Posted by Mark Brown <mabrown at SENET.COM.AU> Apr 29, 2001
- 446 views
Hi David. Do you have a bit of experience with DOS and selecting paths from DOS? I ask because many windows users are not and this can often be a source of frustration. It seems to me that it is your "demo" file that can't be found not ex/exw. Assuming you did a standard install and everything is where it should be then please try the following. 1. Bring up the DOS prompt. 2. type in the following ..... cd c:\euphoria\demo 3. type in the following...... ex animal Did that work? If it didn't let us know. If it did then also let us know and we can help to set up a better work environment for you.....there are better ways to run your code than from the DOS prompt (and although many like ED I think there are better editors for a newbie). Good luck Mark ----- Original Message ----- From: <dstanger at belco.bc.ca> To: "EUforum" <EUforum at topica.com> Sent: Saturday, April 14, 2001 11:15 AM Subject: Still no luck... > > > Hello all and thanks for the many responses. > > Here are the responses to your queries for more information: > > I am using Windows 95 as my OS. > > I added the following to my AUTOEXEC., saved, and rebooted, to no effect: > path=%path%;c:\euphoria\bin > set eudir=c:\euphoria > > I am using ED, which came with the Public Domain edition of Euphoria that I > downloaded, as an editor. > > I installed Euphoria by unzipping it using WINZIP into c:\Euphoria and then > doubleclicking install.bat. > > When I attempt to run a Euphoria program using EXW.exe (from Windows) or > EX.exe (from DOS) it simply says "Can't open [file name.ext]". > > I must confess that I feel like an idiot. I am certainly starting off on the > wrong foot! ;) > > Many thanks, > David > > > > > > > > > >
6. Re: Still no luck...
- Posted by Irv Mullins <irvm at ellijay.com> Apr 29, 2001
- 439 views
----- Original Message ----- From: <dstanger at belco.bc.ca> > When I attempt to run a Euphoria program using EXW.exe (from Windows) or > EX.exe (from DOS) it simply says "Can't open [file name.ext]". Here's a simple test: at your C: prompt, type ex <enter> You should see several lines, beginning with Euphoria 2.2 Public Domain edition.... That tells us that the interpreter is installed and can be found. For now, just hit <enter> to close the interpreter. If you didn't see the banner, your installation is bad, better start over. Back at the C: prompt, type 'dir *.ex' You should see the name of the program you're trying to run. If not, then you are not in the directory where you stored that program. You need to change to that directory and try again. The Ed editor will only show color syntax on a file which ends in .ex or .exw, any other file extension will get plain black text display. If you open a file named "test.ex", and type in 'puts(1,"Hello")', it should show color syntax highlighting. If not, maybe you're not running the Euphoria editor, but some _other_ program named 'ed' - it's a pretty common name:) You'll soon want a fancier editor, anyway. For DOS, I recommend EE, written by Dave Cuny, it's on the RDS website. For editing in Windows, MEdit by Mike Carroll is excellent. Regards, Irv
7. Re: Still no luck...
- Posted by Gerardo <gebrandariz at YAHOO.COM> Apr 29, 2001
- 472 views
David, Sorry if this sounds obvious, but I haven't seen your actual PATH= in any of your postings. Are you sure it included the \euphoria\bin directory? Thing is, the MS-DOS PATH= envvar can't contain more than 123 bytes (128 including the 'PATH=' string). You can append all you want, it just won't 'take.' That's why so many ugly inconsiderate installers, instead of adding path=%path%;c:\euphoria\bin as you did, do a dirty path=c:\euphoria\bin;%path% thus making sure they'll always be included (at the beginning), after possibly having bumped your last few path bytes out of the picture. There's no way I know around this in MS-DOS, other than pruning your path of any unnecessary assignments (be careful! something else might not run!). If a path larger than 123 bytes is absolutely essential, you might try 4DOS, a command.com enhancement I used for several years along with Win95 without any harmful effects (and many beneficial ones). You can download 4DOS (versions for all Windows's, 3.1 to 2000) and Take Command/32 (kind of a DOS graphics window, very enhanced) at http://www.jpsoft.com. It's not freeware but fully functional shareware, no time limit or tricky stunts afaik. To my knowledge, 4DOS manages a 256-byte PATH= (if they haven't enhanced it still further). Good luck. Gerardo ----- Original Message ----- From: <dstanger at belco.bc.ca> To: "EUforum" <EUforum at topica.com> Sent: Friday, April 13, 2001 10:45 PM Subject: Still no luck... > Hello all and thanks for the many responses. > > Here are the responses to your queries for more information: > > I am using Windows 95 as my OS. > > I added the following to my AUTOEXEC., saved, and rebooted, to no effect: > path=%path%;c:\euphoria\bin > set eudir=c:\euphoria > > I am using ED, which came with the Public Domain edition of Euphoria that I > downloaded, as an editor. > > I installed Euphoria by unzipping it using WINZIP into c:\Euphoria and then > doubleclicking install.bat. > > When I attempt to run a Euphoria program using EXW.exe (from Windows) or > EX.exe (from DOS) it simply says "Can't open [file name.ext]". > > I must confess that I feel like an idiot. I am certainly starting off on the > wrong foot! ;) > > Many thanks, > David