Jump to content

Recommended Posts

Posted

Hi,

I am having some issues linking a PDF on the root of a cd to the shell

command "read me" via the autorun.inf file. The command appears when I right

click the CD, and adobe opens but it says it cannot find the file. I have

also tried to put %CD%\ in front of the file name with no luck. It seems like

Adobe isn't looking at the root of the CD drive, but I cant figure out how to

make that happen...

 

Any pointers will be greatly appreciated!

 

 

***Code***

 

[autorun]

shell\readme=Read &Me

shell\readme\command=AcroRd32.exe Quick_Start_Guide.pdf

 

***Code***

 

Thanks in advance!

JoMo

  • Replies 5
  • Created
  • Last Reply
Guest Bob I
Posted

Re: Autorun Shell Commands

 

try ..\ instead?

 

JoMo wrote:

> Hi,

> I am having some issues linking a PDF on the root of a cd to the shell

> command "read me" via the autorun.inf file. The command appears when I right

> click the CD, and adobe opens but it says it cannot find the file. I have

> also tried to put %CD%\ in front of the file name with no luck. It seems like

> Adobe isn't looking at the root of the CD drive, but I cant figure out how to

> make that happen...

>

> Any pointers will be greatly appreciated!

>

>

> ***Code***

>

> [autorun]

> shell\readme=Read &Me

> shell\readme\command=AcroRd32.exe Quick_Start_Guide.pdf

>

> ***Code***

>

> Thanks in advance!

> JoMo

Posted

Re: Autorun Shell Commands

 

Thanks for the quick response Bob!

 

Unfortunately that didn't fix my problem. Still getting the same error

message.

 

"There was an error opening this document. This file cannot be found"

 

-JoMo

 

 

"Bob I" wrote:

> try ..\ instead?

>

> JoMo wrote:

>

> > Hi,

> > I am having some issues linking a PDF on the root of a cd to the shell

> > command "read me" via the autorun.inf file. The command appears when I right

> > click the CD, and adobe opens but it says it cannot find the file. I have

> > also tried to put %CD%\ in front of the file name with no luck. It seems like

> > Adobe isn't looking at the root of the CD drive, but I cant figure out how to

> > make that happen...

> >

> > Any pointers will be greatly appreciated!

> >

> >

> > ***Code***

> >

> > [autorun]

> > shell\readme=Read &Me

> > shell\readme\command=AcroRd32.exe Quick_Start_Guide.pdf

> >

> > ***Code***

> >

> > Thanks in advance!

> > JoMo

>

>

Guest Mark Dormer
Posted

Re: Autorun Shell Commands

 

The code is valid.

I copied yours and added a file to the root dir called Quick_Start_Guide.pdf

 

It worked.

Using XP SP3

 

Check the autorun.inf for typos

 

--

Regards

Mark Dormer

 

"JoMo" <JoMo@discussions.microsoft.com> wrote in message

news:B451EB15-C611-417F-91C1-8FEE6EEEC15B@microsoft.com...

> Thanks for the quick response Bob!

>

> Unfortunately that didn't fix my problem. Still getting the same error

> message.

>

> "There was an error opening this document. This file cannot be found"

>

> -JoMo

>

>

> "Bob I" wrote:

>

>> try ..\ instead?

>>

>> JoMo wrote:

>>

>> > Hi,

>> > I am having some issues linking a PDF on the root of a cd to the shell

>> > command "read me" via the autorun.inf file. The command appears when I

>> > right

>> > click the CD, and adobe opens but it says it cannot find the file. I

>> > have

>> > also tried to put %CD%\ in front of the file name with no luck. It

>> > seems like

>> > Adobe isn't looking at the root of the CD drive, but I cant figure out

>> > how to

>> > make that happen...

>> >

>> > Any pointers will be greatly appreciated!

>> >

>> >

>> > ***Code***

>> >

>> > [autorun]

>> > shell\readme=Read &Me

>> > shell\readme\command=AcroRd32.exe Quick_Start_Guide.pdf

>> >

>> > ***Code***

>> >

>> > Thanks in advance!

>> > JoMo

>>

>>

Posted

Re: Autorun Shell Commands

 

Thanks for the response Mark!

 

I just tested it on an XP machine and it works flawlessly... I guess thats

what I get for trying to test things on Vista. ;-)

 

Fortunately the users that will be running this file are all running XP! So

my problem is solved... Till we make the switch to Wista =-/

 

Thanks again!

 

JoMo

 

"Mark Dormer" wrote:

> The code is valid.

> I copied yours and added a file to the root dir called Quick_Start_Guide.pdf

>

> It worked.

> Using XP SP3

>

> Check the autorun.inf for typos

>

> --

> Regards

> Mark Dormer

>

> "JoMo" <JoMo@discussions.microsoft.com> wrote in message

> news:B451EB15-C611-417F-91C1-8FEE6EEEC15B@microsoft.com...

> > Thanks for the quick response Bob!

> >

> > Unfortunately that didn't fix my problem. Still getting the same error

> > message.

> >

> > "There was an error opening this document. This file cannot be found"

> >

> > -JoMo

> >

> >

> > "Bob I" wrote:

> >

> >> try ..\ instead?

> >>

> >> JoMo wrote:

> >>

> >> > Hi,

> >> > I am having some issues linking a PDF on the root of a cd to the shell

> >> > command "read me" via the autorun.inf file. The command appears when I

> >> > right

> >> > click the CD, and adobe opens but it says it cannot find the file. I

> >> > have

> >> > also tried to put %CD%\ in front of the file name with no luck. It

> >> > seems like

> >> > Adobe isn't looking at the root of the CD drive, but I cant figure out

> >> > how to

> >> > make that happen...

> >> >

> >> > Any pointers will be greatly appreciated!

> >> >

> >> >

> >> > ***Code***

> >> >

> >> > [autorun]

> >> > shell\readme=Read &Me

> >> > shell\readme\command=AcroRd32.exe Quick_Start_Guide.pdf

> >> >

> >> > ***Code***

> >> >

> >> > Thanks in advance!

> >> > JoMo

> >>

> >>

>

>

>

Guest Mark Dormer
Posted

Re: Autorun Shell Commands

 

JoMo wrote:

> Thanks for the response Mark!

>

> I just tested it on an XP machine and it works flawlessly... I guess

> thats what I get for trying to test things on Vista. ;-)

>

> Fortunately the users that will be running this file are all running

> XP! So my problem is solved... Till we make the switch to Wista =-/

>

> Thanks again!

>

> JoMo

>

> "Mark Dormer" wrote:

>

>> The code is valid.

>> I copied yours and added a file to the root dir called

>> Quick_Start_Guide.pdf

>>

>> It worked.

>> Using XP SP3

>>

>> Check the autorun.inf for typos

>>

>> --

>> Regards

>> Mark Dormer

>>

>> "JoMo" <JoMo@discussions.microsoft.com> wrote in message

>> news:B451EB15-C611-417F-91C1-8FEE6EEEC15B@microsoft.com...

>>> Thanks for the quick response Bob!

>>>

>>> Unfortunately that didn't fix my problem. Still getting the same

>>> error message.

>>>

>>> "There was an error opening this document. This file cannot be

>>> found"

>>>

>>> -JoMo

>>>

>>>

>>> "Bob I" wrote:

>>>

>>>> try ..\ instead?

>>>>

>>>> JoMo wrote:

>>>>

>>>>> Hi,

>>>>> I am having some issues linking a PDF on the root of a cd to the

>>>>> shell command "read me" via the autorun.inf file. The command

>>>>> appears when I right

>>>>> click the CD, and adobe opens but it says it cannot find the

>>>>> file. I have

>>>>> also tried to put %CD%\ in front of the file name with no luck. It

>>>>> seems like

>>>>> Adobe isn't looking at the root of the CD drive, but I cant

>>>>> figure out how to

>>>>> make that happen...

>>>>>

>>>>> Any pointers will be greatly appreciated!

>>>>>

>>>>>

>>>>> ***Code***

>>>>>

>>>>> [autorun]

>>>>> shell\readme=Read &Me

>>>>> shell\readme\command=AcroRd32.exe Quick_Start_Guide.pdf

>>>>>

>>>>> ***Code***

>>>>>

>>>>> Thanks in advance!

>>>>> JoMo

 

That's interesting to know, I'll have to look into how Vista is different.

 

--

Regards

Mark Dormer


×
×
  • Create New...