#1
|
|||
|
|||
How to call "blat" in script?
Hi all,
I want to use secureCRT for automated tests. I want to catch some logs from console, then find out some key words, and then call "blat test.txt -to xxx@bbb.com" to send email. But how to call windows application in secureCRT script? Thanks a lot. |
#2
|
|||
|
|||
Hi fire820,
Thanks for the post. Calling a Windows application will not be dependent on a SecureCRT script. It is outside of the scope of SecureCRT scripting. You would need to know how to do it in the language you are going to use to write your script. With more information I may be able to point you in the right direction, or at the least, show you where the documentation for the language is. What is the version of SecureCRT that you are using? What scripting language will you be using to write your script? |
#3
|
|||
|
|||
Hi Todd,
The version of SecureCRT is: Version 7.0.0 (build 295) - Beta Release - May 22, 2012 And I want to use vbs script(*.vbs). I wrote some simple vbs script fors SecureCRT before, but not good at it. Thanks a lot. Quote:
|
#4
|
|||
|
|||
Hi fire820,
We have an example script at the following location that illustrates how to open a file in an editor on line 146: https://forums.vandyke.com/showpost....3122#post43122You can find more information about using WshShell at the following Microsoft website location: https://msdn.microsoft.com/en-us/lib...(v=vs.84).aspxDoes this help you write your script? |
#5
|
|||
|
|||
Got it.
Sincerely thanks. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|