Gene/Donald.

THANKS FOR YOUR REPLIES...

My batch file is c:\mainton.bat

here is the contents of the batch file:

@echo off
if exist \\TS1\c$\inetpub\wwwroot\tsweb\default2.htm exit
rename \\TS1\c$\inetpub\wwwroot\tsweb\default.htm default2.htm
rename \\TS1\c$\inetpub\wwwroot\tsweb\default1.htm default.htm

I setup an alert to run an EXE/BAT...   I have even tried compiling the
above to an EXE (it will run and work from the command prompt, but not via
SA).

If I change the command to run to "notepad.exe" it runs, but won't run
c:\mainton.bat" - I have even tried moving my batch file to some of the PATH
directories like c:\windows\system32 and just putting "mainton.bat" in the
command line - and it doesn't run.

Very often I get NO entry in the log - just like above when notepad.exe DOES
indeed work, there is no entry in the log.

Dave Bruck



----- Original Message ----- 
From: "gene Martinez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 29, 2004 7:02 PM
Subject: Re: [SA-list] Command Alerts


At 12:07 AM 10/30/04 +0200, you wrote:

Can you post your batch file, making changes as needed to protect your
information?


>Hi,
>
>Do you have an example of what you are trying to do with the batch file?
>Specifically what are you trying to accomplish with it and what are
>you trying to pass?
>
>I had lots of problems getting batch files and command alerts working
>mainly revolving around having to inserts quotes in the right places
>in my batch file and then in the execute command having to put lots of
>{22} for quotation marks.
>
>

Regards,

Gene
[EMAIL PROTECTED]
http://www.eclipse.net/~njkat



-------------------------

[This E-mail scanned for viruses by Declude Virus]

To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive




-------------------------

[This E-mail scanned for viruses by Declude Virus]

To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive

Reply via email to