bug with autorun on Windows?

Thomas McGrath III 3mcgrath at adelphia.net
Thu Sep 30 15:29:10 EDT 2004


Chris,
I had the same thing happen on a major project and had to get the path 
of the executable on startup and set the default folder to that.

I did copy my 'images' folder to the root level on one project so the 
code could follow it because I didn't have time to change the startup 
code but that is a hack.

HTH

Tom


No other way I know of. On Sep 30, 2004, at 12:11 PM, Chris Sheffield 
wrote:

> I'm about to Bugzilla this, but I wanted to make sure that it's not 
> just me.
> So if someone can try this and confirm, I'd be grateful.
>
> I have a program that is running off a CD, and I'm using autorun to 
> launch
> it when the CD is inserted.  I have the executable inside a folder 
> called
> "Program" on the root of the CD.  The autorun.inf file is on the root 
> of the
> CD next to the folder.  In the file I have the line
> "open=.\Program\rnse.exe", which works just fine.  The problem is that 
> I
> noticed that the defaultFolder is not getting set correctly.  When 
> autorun
> launches the app, the defaultFolder is set to "E:/" (the root of the 
> CD-ROM
> drive, which is the location of the autorun.inf file).  When I open the
> Program folder and launch the exe by double-clicking it, the 
> defaultFolder
> is set correctly to "E:/Program".  I don't know how or why this is
> happening?  Maybe there's something I'm doing wrong?
>
> Thanks,
>
> Chris Sheffield
> Software Development
> Read Naturally
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.771 / Virus Database: 518 - Release Date: 9/28/2004
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541



More information about the use-livecode mailing list