Re: Don: DSS: Slight directory problem still

new topic     » goto parent     » topic index » view thread      » older message » newer message

don cole wrote:
> 
> Yes AL,
> 
> }}}
<eucode>
> 
>    global sequence comm
>    sequence commline
>    commline=command_line()
>    comm=commline[2]
>    for k=length(comm) to 1 by -1 do
>      if comm[k]='\\' then
>        comm=comm[1..k]
>        exit
>      end if
>    end for
> 
> </eucode>
{{{

> 
> Is a good route to find what Directory  myProg.exe is running in.
> 
> Any .ini or necessary files should be in that Dir.
> 
> I then added:
> 
> start_dir()=comm
> 
> Tested and uploaded.
> 
> I wish you would test the .exe. 
> 
> To see if it will work on everyone's computer.
> 
> Don Cole
> 
> 
> Don Cole

Hi there Don,


Ok, i tested both the exw and exe files and they both work fine now smile
Even a newly bound exw file works (as exe) so all is well.


Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu