Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 192
  • Last Modified:

about Autorun file

hi ,
how can i create autorun file on a CD for a pps file i dont think it is a vb question but i dont know the category of this question

thanx
loay
0
loay
Asked:
loay
1 Solution
 
Ryan ChongCommented:
Basically, you must create an .inf file named Autorun.inf in the root of your CD. Then place the file in a folder on the cd and edit the Autorun.inf like this:

[Autorun]
Open=MyFolder\myExe.exe

I'm not quite sure if the autorun will run for a none exe file (in this case .pps file)

But here is a workaround, as for the above statement:

Open=MyFolder\myExe.exe

create an exe at MyFolder name it as myExe.exe

That by generating the myExe.exe file, we open the pps by using Shell function, example using VB:

Create a form, in the Form_Load Event:

Shell [my pps file's path]

Hope this make help
0
 
DanRollinsCommented:
Hi loay,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept ryancys's comment(s) as an answer.

loay, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.
==========
DanRollins -- EE database cleanup volunteer
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now