Re: Don: Lost Mode of Operation in DSS
- Posted by don cole <doncole at pacbell.net> Feb 07, 2006
- 415 views
Al Getz wrote: > > Hi there Don, > > Oh no, the entire file "GetInit.ew" was shown in my post which i'll > repeat here... > > This is the entire "GetInit.ew" file: > > --start file "GetInit.ew" > > 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 > > --end file > > Placed early on in the .exw file then 'comm' contains the > correct directory regardless of how the program is started > (Win Explorer double click or whatever). > > > Al > > > My bumper sticker: "I brake for LED's" O.K. Al thanks for that. I'll try it out. I was running DSS by associating it with a .jpg file extention. Then any time you double click a .jpg icon it opens with the Slide Show. I haven't tried opening from the command line. But I will just to test. The important thing is the EXE file must find SSdata.dat (which shold be in the same folder as as the EXE. file). If your GetInit.ew file will find that folder no matter how it's started then that would be cool. Don Cole A Bug is an un-documented feature. A Feature is a documented Bug.