Privacy Policy

Guest
  • Guest
  • Guest Topic Starter
2001-05-09T14:46:28Z
Date parsed: 5/9/2001 2:46:28 PM

Date: Wed, 9 May 2001 15:46:28 -0000

Can you run an external program from the trail version. if so i'm trying to

run a batch file that creates a test.txt file, but it dosnt seem to work.

also how are the variables passed.

is it

in command line c:\runbat.bat %SLNT_xxx%

and bat file echo %1% >> syslog.txt

this is only an example. Im running 2.1

many thanks

Gary Brain

Guest
  • Guest
  • Guest Topic Starter
2001-05-09T19:56:19Z
Date parsed: 5/9/2001 7:56:19 PM

Date: Wed, 9 May 2001 18:56:19 +0200

Hi Gary,

> Can you run an external program from the trail version. if so i'm trying

to

> run a batch file that creates a test.txt file, but it dosnt seem to work.

in the action definition, prefix your batch file with "cmd.exe /C", for

example:

"cmd.exe /c c:\runbat.bat"

> also how are the variables passed.

> is it in command line c:\runbat.bat %SLNT_xxx%

> and bat file echo %1% >> syslog.txt

This is one method, the other would be to use the %SLNT_xxx%

variables directly in the batch file: "echo %SLNT_xxx%"

Franz

Guest
  • Guest
  • Guest Topic Starter
2001-05-10T09:55:28Z
Date parsed: 5/10/2001 9:55:28 AM

Date: Thu, 10 May 2001 10:55:28 -0000

Thanks very much, works great.

Gary

"Franz Krainer" <franzk@netal.com> wrote in message

news:QXLV4jK2AHA.1692@is1.netal.com...

> Hi Gary,

>

> > Can you run an external program from the trail version. if so i'm trying

> to

> > run a batch file that creates a test.txt file, but it dosnt seem to

work.

>

> in the action definition, prefix your batch file with "cmd.exe /C", for

> example:

>

> "cmd.exe /c c:\runbat.bat"

>

>

> > also how are the variables passed.

> > is it in command line c:\runbat.bat %SLNT_xxx%

> > and bat file echo %1% >> syslog.txt

>

> This is one method, the other would be to use the %SLNT_xxx%

> variables directly in the batch file: "echo %SLNT_xxx%"

>

> Franz

>

>

>

Similar Topics