🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.acrobat.reader
Article #489

Acrobat reader gives return code 1 instead of 0 while opening a pdf file from a batch file

#489
From: Neomusashi
Date: Thu, 26 Jan 2006 14:56
22 lines
1741 bytes
Hi all,

I have a simple bat file that wil open a pdf file.
It is as simple as:

"c:\apps\bur_0335\Reader\AcroRd32.exe c:\Temp\78536657.pdf
exit %errorlevel%"

There is ofcourse more behind this. This is cmd file generated from an
applet who opens a pdf file that was generated by a documentumserver...
.

But i got a problem with this bat file.
On a pc with windows NT and acrobat reader 6.0 this gives a return code
0 .
On a pc with windows XP and acrobat reader 7.0 this gives a return code
1.

Does someone know what is different and what we could do to get a
return code 0?

exit 1 is not an option :-) .
Technical Details
Message-ID: <1138287415.182277.325280@o13g2000cwo.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!o13g2000cwo.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 109513,bbe6da08c9192918,start
X-Google-Attributes: gid109513,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!o13g2000cwo.googlegroups.com!not-for-mail
From: "Neomusashi" <cibv0ql@gmail.com>
Newsgroups: adobe.acrobat.reader
Subject: Acrobat reader gives return code 1 instead of 0 while opening a pdf file from a batch file
Date: 26 Jan 2006 06:56:55 -0800
Organization: http://groups.google.com
Lines: 23
Message-ID: <1138287415.182277.325280@o13g2000cwo.googlegroups.com>
NNTP-Posting-Host: 193.244.32.132
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1138287420 6490 127.0.0.1 (26 Jan 2006 14:57:00 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 26 Jan 2006 14:57:00 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: o13g2000cwo.googlegroups.com; posting-host=193.244.32.132;
   posting-account=13WG0AwAAADyFbrQ6Zka0rLX8QcRNFZQ