Autorun Shell Commands

  • Thread starter Thread starter JoMo
  • Start date Start date
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
 
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
 
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
 
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
 
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.
 
Back
Top