Making an Autorun.inf file

  • Thread starter Thread starter John Lewis
  • Start date Start date
J

John Lewis

I would like to make an autorun.inf file to run a Power
Point file when the CD is inserted into the drive. also on
Win2K how can you see it up to test it off the floppy
drive. I tryed the Microsoft Knowledge Base Article 136214
it is for Win 9X and I can not make it work can some one
help me please
 
John Lewis said:
I would like to make an autorun.inf file to run a Power
Point file when the CD is inserted into the drive. also on
Win2K how can you see it up to test it off the floppy
drive. I tryed the Microsoft Knowledge Base Article 136214
it is for Win 9X and I can not make it work can some one
help me please


I'm not sure if you can run a .PPT file directly, I don't have time to test.
I'm assuming you already tried that. You can download my freeware tool
ShellExecute.exe and place it in the root of the CD.
http://www.optimumx.com/download/

Then your AUTORUN.INF would look like this:

[AutoRun]
open=ShellExecute.exe /F:MyPowerPoint.ppt

Or you might need to specify the curent folder using ".\" like this:


[AutoRun]
open=ShellExecute.exe /F:.\MyPowerPoint.ppt


If floppy won't work then try it with a network drive or your C: drive.
 
Marty List wrote in
I'm not sure if you can run a .PPT file directly, I don't have
time to test. I'm assuming you already tried that. You can
[ ]

FWIW on W2K with Office 2000
C:\>assoc .ppt
.ppt=PowerPoint.Show.8

C:\>ftype PowerPoint.Show.8
PowerPoint.Show.8="C:\Program Files\Microsoft Office\Office\POWERPNT.EXE" "%1"

So it sould open with the filename.ext
Not sure if just the PP Viewer does an association when
installed though.
 
Mark V said:
Marty List wrote in
I'm not sure if you can run a .PPT file directly, I don't have
time to test. I'm assuming you already tried that. You can
[ ]

FWIW on W2K with Office 2000
C:\>assoc .ppt
.ppt=PowerPoint.Show.8

C:\>ftype PowerPoint.Show.8
PowerPoint.Show.8="C:\Program Files\Microsoft
Office\Office\POWERPNT.EXE" "%1"
So it sould open with the filename.ext
Not sure if just the PP Viewer does an association when
installed though.

What I meant was I don't know if Autorun will launch a file extension
through association, it may only do executables. I know a lot of Microsoft
CDs with Autorun.inf use a tool called ShelExec.exe to launch things that
are not executables, so that's why I mentioned it.
 
Marty List wrote in
Mark V said:
Marty List wrote in
I would like to make an autorun.inf file to run a Power
Point file when the CD is inserted into the drive. also on [ ]
I'm not sure if you can run a .PPT file directly, I don't have
time to test. I'm assuming you already tried that. You can
[ ]

FWIW on W2K with Office 2000 [ ]

So it sould open with the filename.ext
Not sure if just the PP Viewer does an association when
installed though.

What I meant was I don't know if Autorun will launch a file
extension through association, it may only do executables. I know
a lot of Microsoft CDs with Autorun.inf use a tool called
ShelExec.exe to launch things that are not executables, so that's
why I mentioned it.

Ah. Got it. I was confused (and it won't be the last time). ;-)
 
Back
Top