Re: AUTO RUN FILE FROM CD

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Neil Holden wrote:
Hi, I have a list of word files using 2003 which are all hyperlinked,
and theres a main word document that I want to auto-run when a cd is
inserted. Any ideas? I dont want the users to see the other existing
files because they are hyperlinked and I dont want them to see the
files. Cheers

The autorun function for a CD is activated by putting a plain-text file
named "autorun.inf" in the root folder of the CD. This isn't specific to
Word -- it can run any program or launch any file type that has a program
registered in Windows to open it.

For your purposes, assuming the document you want to open is named Main.doc
and it is stored in the CD's root folder, the contents of the autorun.inf
file would be this (the dot-slash in the name means "in the same folder as
the autorun.inf file"):

[autorun]
open = .\Main.doc

If the file is in a subfolder on the CD, include that; and if the path or
the file name contains any spaces, enclose the whole thing in double quotes:

[autorun]
open = ".\subfolder\Main document.doc"

General instructions are at http://support.microsoft.com/kb/818804 in the
section "Create an Autorun.inf File".

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.


.



Relevant Pages

  • Re: Opening a Word document from an app
    ... I want to browse for a file (it will be a word document), ... name to a string and then at some later stage open that file with word. ... Process.Start (pathToWord, theFileName); ... if I dont include the pathToWord and just rely on ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Hi, i bought a new drive with ncq tech and ....
    ... Turn off "autorun", and that should stop that behavior I think. ... No, i dont see that blink anywhere, but it jam my games often. ... elude msconfig. ...
    (alt.comp.periphs.mainboard.asus)
  • Re: Hi, i bought a new drive with ncq tech and ....
    ... I've check the indexiong service and it off, ... Turn off "autorun", and that should stop that behavior I think. ... No, i dont see that blink anywhere, but it jam my games often. ...
    (alt.comp.periphs.mainboard.asus)
  • Re: I think this will save my time in doctors office
    ... so u dont really have to ... download word document. ... execute any embedded macros or ActiveX components. ...
    (misc.health.alternative)
  • Trying to Alter Form I didnt Create
    ... I am trying to edit a word document. ... format just with a few extra boxes and all that. ... you will notice that the lines in the top section dont match up at all. ... When you tab in new one... ...
    (microsoft.public.word.docmanagement)