RE: Re[2]: Now what!? Try to bind, and it won't let me.
- Posted by "SR.Williamson" <writeneu at hotmail.com> Feb 28, 2002
- 534 views
> When you use the SET command it only sets the variable for the current > environment, when you start a new instance of the command interpreter > (command or cmd under nt/2k/xp) it inherits any current variables but > any changes you make to variables within it do not affect its > parents... Thought it was probably something like this. But..... > How about using bat files to run .ew and .exw? You could do something > like this: > > Rename ex.exe and exw.exe to _ex.exe and _exw.exe, Make two batch > files named ex.bat and exw.bat in your euphoria\bin directory. Put this > into ex.bat: > > set EUDIR=D:\EUPHORIA > D:\EUPHORIA\BIN\_ex.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 > > And this into exw.bat: > > set EUDIR=D:\EUPHORIA > D:\EUPHORIA\BIN\_exw.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 > > I assume that would work... Is this different from running a bat file with just set EUDIR=D:\Euphoria then running exw.exe? Seems like it would be, because exw.exe is either running under the command.com from initial boot, or under it's own instance, but still not the one that executes the batch file. Yep, it worked. Thanks a lot. Now I don't feel like drop-kicking everything.