RE: Passing a variable to a DOS batch file

2002-04-22 Thread José Nyimi
Hm ... Do you have some link(s) to cmd.exe shell documentations ? (even advanced !) José. [EMAIL PROTECTED] a écrit : On 21 April 2002 01:07, Paul Lombardo [mailto:[EMAIL PROTECTED]] wrote: > > I am new to this group and coming back to perl after a year > long hiatus. > > I am using perl o

RE: Passing a variable to a DOS batch file

2002-04-22 Thread Richard_Cox
On 21 April 2002 01:07, Paul Lombardo [mailto:[EMAIL PROTECTED]] wrote: > > I am new to this group and coming back to perl after a year > long hiatus. > > I am using perl on an NT4 server and > > I have a batch file that calls a perl script. (this works flawlessly) > > The perl script does s

Re: Passing a variable to a DOS batch file

2002-04-21 Thread Elias Assmann
On Sun, 21 Apr 2002, Michael Lamertz wrote: > On Sun, Apr 21, 2002 at 01:45:27PM +0200, Elias Assmann wrote: > > > If the Perl script is the last thing the batch file executes, I don't > > really see a problem, since you could just let the Perl script emit > > the error/success message. That migh

Re: Passing a variable to a DOS batch file

2002-04-21 Thread Michael Lamertz
On Sun, Apr 21, 2002 at 01:45:27PM +0200, Elias Assmann wrote: > If the Perl script is the last thing the batch file executes, I don't > really see a problem, since you could just let the Perl script emit > the error/success message. That might leave you with the problem of > exiting the batch sc

Re: Passing a variable to a DOS batch file

2002-04-21 Thread Elias Assmann
On Sun, 21 Apr 2002, Michael Lamertz wrote: > On Sat, Apr 20, 2002 at 08:07:09PM -0400, Paul Lombardo wrote: > > I need to do the following: > > > > if the perl script fails I need to pass a variable to the batch file so it > > can exit with a proper failure message > > when the perl script succe

Re: Passing a variable to a DOS batch file

2002-04-21 Thread Michael Lamertz
On Sat, Apr 20, 2002 at 08:07:09PM -0400, Paul Lombardo wrote: > > I need to do the following: > > if the perl script fails I need to pass a variable to the batch file so it > can exit with a proper failure message > when the perl script succeeds I need to pass a variable to the batch file >