Autorun Shell Commands

J

JoMo

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
 
J

JoMo

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 said:
try ..\ instead?
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
 
M

Mark Dormer

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 said:
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 said:
try ..\ instead?
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
 
J

JoMo

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 said:
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 said:
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 said:
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
 
M

Mark Dormer

JoMo said:
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 said:
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 said:
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


:

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Autorun CD - Windows XP 4
Autorun a CD 4
strange autorun.inf file in every drive 6
Autorun CD Problem 4
autorun xls file 2
Autorun function depends... 4
command prompt loop? 5
USB produces its own autorun. 2

Top