Re: Don: DSS: Slight directory problem still

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

Yes AL,

   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


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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu