AutoRun help

I have created a program in Delphi 7 and I wish it to autorun, but whenever I put the autorun on the disk, everything works. but it tells me it can not find the file it says

Cannot find file://D://HTML/In.swf.

The program is like a browser. I made it so that I can use the program for many different autorun programs and just change the HTML/FLASH part so that it changes.

The point is it is programmed to open in.swf inside the program. But it says it can not find it, Can anyone help?
closed account (zb0S216C)
This forum is for C/C++, not Delphi.

As for you auto-run file, maybe you have the slashes the wrong way( \\D:\\HTML\\In.swf )?
Also, is In.swf in a directory? If so, make sure the path to the file is valid. I not sure, but, I don't think that you need to add the drive-letter at the start of the address, unless the file is external to that drive.
Last edited on
How are you constructing the path string?
And where is the file you are trying to access actually located? (Shouldn't it be on the removable media where the autorun.ini is located?)
Topic archived. No new replies allowed.