Hello....me again.
Thanks Knob for the previous help. I have new issue now.
I'm almost through the script but ran into another problem.
I'm trying to enter basic lines of text but I have 3 lines that have / and \ in them and procomm won't send the carriage return after the lines even if I try work around it. This is what I have so far:
transmit "add 6 `"NetworkSide`" firewall 1 pass incoming nolog Ping 10.168.1.2/32 \0.0.0.0/0"
pause 2
transmit "^M"
pause 1
transmit "add 6 `"NetworkSide`" firewall 2 pass incoming nolog Telnet 10.168.1.2/32 \0.0.0.0/0"
pause 2
transmit "^M"
pause 1
transmit "add 6 `"NetworkSide`" firewall 3 pass inout nolog protocol 0 0.0.0.0/0 \0.0.0.0/0"
pause 2
transmit "^M"
Can anyone point me in the right direction?
If not I can have the script upload these lines from a text file, but I didn't want to have to do that.
Thanks!
William McKenzie
TDS Metrocom - Lansing, MI
Thanks Knob for the previous help. I have new issue now.
I'm almost through the script but ran into another problem.
I'm trying to enter basic lines of text but I have 3 lines that have / and \ in them and procomm won't send the carriage return after the lines even if I try work around it. This is what I have so far:
transmit "add 6 `"NetworkSide`" firewall 1 pass incoming nolog Ping 10.168.1.2/32 \0.0.0.0/0"
pause 2
transmit "^M"
pause 1
transmit "add 6 `"NetworkSide`" firewall 2 pass incoming nolog Telnet 10.168.1.2/32 \0.0.0.0/0"
pause 2
transmit "^M"
pause 1
transmit "add 6 `"NetworkSide`" firewall 3 pass inout nolog protocol 0 0.0.0.0/0 \0.0.0.0/0"
pause 2
transmit "^M"
Can anyone point me in the right direction?
If not I can have the script upload these lines from a text file, but I didn't want to have to do that.
Thanks!
William McKenzie
TDS Metrocom - Lansing, MI