It is currently 22 May 2019 4:47

Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: Running a Windows script
PostPosted: 10 Dec 2009 4:06 
User avatar

Joined: 06 Dec 2009 12:00
Posts: 19

I am testing windows scripting as follows...

1. Created a windows batch file in the format of..

echo on ]
dir c:\ ]

(I selected ] at the end of each command as per AdminGuide)

2. Set job type to WINDOWS and pointed at script.

3. Created parameters in the job def. steps tab as follows..

c) on Statement=dir Code =testfile
b) Do shout To=ECS Urgn=Very Urgent Msg=testfile found

I noticed at the end of the SYSOUT window it displays the Control-M Agent directory and "File not found" and discovered this was because of the "[" in the script so I removed it but it's still not shouting the alert.

Thanks in advance...I know it's a basic question but a tad stuck here...

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+02:00

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited
The site created by Franck YOT. Images, logo, content and trademarks about Control-M products are property of BMC Software.
All the comments are property of their posters. Images, logo, content and design are © copyright by All Rights Reserved