PC Review


Reply
Thread Tools Rate Thread

Autorun Shell Commands

 
 
JoMo
Guest
Posts: n/a
 
      26th Jun 2008
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
 
Reply With Quote
 
 
 
 
Bob I
Guest
Posts: n/a
 
      26th Jun 2008
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


 
Reply With Quote
 
JoMo
Guest
Posts: n/a
 
      26th Jun 2008
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

>
>

 
Reply With Quote
 
Mark Dormer
Guest
Posts: n/a
 
      27th Jun 2008
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" <(E-Mail Removed)> wrote in message
news:B451EB15-C611-417F-91C1-(E-Mail Removed)...
> 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

>>
>>



 
Reply With Quote
 
JoMo
Guest
Posts: n/a
 
      27th Jun 2008
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" <(E-Mail Removed)> wrote in message
> news:B451EB15-C611-417F-91C1-(E-Mail Removed)...
> > 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
> >>
> >>

>
>
>

 
Reply With Quote
 
Mark Dormer
Guest
Posts: n/a
 
      29th Jun 2008
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" <(E-Mail Removed)> wrote in message
>> news:B451EB15-C611-417F-91C1-(E-Mail Removed)...
>>> 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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: shell commands via ASP George Lake Microsoft ASP .NET 1 11th May 2006 03:48 PM
shell commands via ASP George Lake Microsoft ASP .NET 4 9th May 2006 08:14 PM
Shell Commands martins Microsoft Dot NET 7 12th Jan 2006 06:47 PM
shell commands =?Utf-8?B?S2V2aW4gR3JlZW4=?= Microsoft Excel Programming 1 19th Jan 2005 09:21 PM
Shell commands in ASP.NET? Allan Rojas Microsoft ASP .NET 3 3rd Jul 2003 06:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:50 AM.