Not sure how to troubleshoot scripts.
My first script:
test.bat
copy d:\one.txt d:\two.txt
When I kick off a high level alarm, behold the file two.txt is created due to it being copied from one.txt
Wonderful..... I'm thinking scripting should work.
Script number 2:
test2.bat
del d:\output.txt
echo %1 >> d:\output.txt
echo %2 >> d:\output.txt
.
.
echo %22 >> d:\output.txt
I do this so that I can see the command line parameters being passed to the script.
When I deliberately fire up a HIGH, using the /etc/passwd matching string, here's the data in the output.txt
4
1001863
1013634894
1013616894
2002/02/13
16:14:54
10008
403
15
40
41
42
43
44
45
46
47
48
49
10018630
10018631
10018632
Using the documentation, I can follow all of the fields up until the OrgID.
Why don't I see all the parameters?
I know some of you have successfully deployed perl scripts and the like, and in fact I took one from a previous post in this converstation group... but it's not working.
I started to troubleshoot, and this is what it boils down to. It looks like all of the parameters are not being passed, or not being passed correctly.
Can anyone shed any light?
Thank you