Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Batch File Execution

3 posts in General Discussion Last posting was on 2005-06-08 13:35:42.0Z
Napoli Posted on 2005-06-07 15:16:51.0Z
Sender: 3134.42a5b63a.1804289383@sybase.com
From: Napoli
Newsgroups: ianywhere.public.general
Subject: Batch File Execution
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <42a5ba5f.3184.1681692777@sybase.com>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 7 Jun 2005 08:16:47 -0700, 10.22.241.42
Lines: 2
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 7 Jun 2005 08:16:48 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 7 Jun 2005 08:16:51 -0700
X-Trace: forums-1-dub 1118157411 10.22.108.75 (7 Jun 2005 08:16:51 -0700)
X-Original-Trace: 7 Jun 2005 08:16:51 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:4535
Article PK: 8344

How do I execute a windows bat file using a trigger or
procedure.


Nick Elson Posted on 2005-06-07 15:20:59.0Z
From: "Nick Elson" <no_spam_nicelson@sybase.com>
Newsgroups: ianywhere.public.general
References: <42a5ba5f.3184.1681692777@sybase.com>
Subject: Re: Batch File Execution
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: nicelson-xp.sybase.com
X-Original-NNTP-Posting-Host: nicelson-xp.sybase.com
Message-ID: <42a5bb5b@forums-1-dub>
Date: 7 Jun 2005 08:20:59 -0700
X-Trace: forums-1-dub 1118157659 10.25.98.216 (7 Jun 2005 08:20:59 -0700)
X-Original-Trace: 7 Jun 2005 08:20:59 -0700, nicelson-xp.sybase.com
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:4536
Article PK: 8343

As asked

call xp_cmdshell( 'xxxx.BAT' )

<Napoli> wrote in message news:42a5ba5f.3184.1681692777@sybase.com...
> How do I execute a windows bat file using a trigger or
> procedure.


Napoli Posted on 2005-06-08 13:35:42.0Z
Sender: 1a02.42a6e629.1804289383@sybase.com
From: Napoli
Newsgroups: ianywhere.public.general
Subject: Re: Batch File Execution
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <42a6f42e.1ade.1681692777@sybase.com>
References: <42a5bb5b@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 8 Jun 2005 06:35:42 -0700
X-Trace: forums-1-dub 1118237742 10.22.241.41 (8 Jun 2005 06:35:42 -0700)
X-Original-Trace: 8 Jun 2005 06:35:42 -0700, 10.22.241.41
Lines: 13
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:4537
Article PK: 8345

Thank you. That worked!!!!!

> As asked
>
> call xp_cmdshell( 'xxxx.BAT' )
>
>
>
> <Napoli> wrote in message
> > news:42a5ba5f.3184.1681692777@sybase.com... How do I
> > execute a windows bat file using a trigger or procedure.
>
>