Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-22-2016, 01:13 AM
ungjinlee ungjinlee is offline
Registered User
 
Join Date: Jun 2016
Posts: 1
script, reading data from file's probelm

hello all

i use windows 8 and secure CRT.

so this time, just make script for reading data from txt file.

sometime refer to Scripting Essentials PDF, but can not make script.

script is just reading txt file and input the command, line by line.

between 1 line and 2 line, which have to waiting 1s or prompt.

and if ERROR msg. display on secure CRT screen, script have to stop.

txt file example like below,

hello
hi
how are you??
dinner
80382823
20294883
hihi
28382932
....

who can help me
Reply With Quote
  #2  
Old 06-22-2016, 09:36 AM
jjh jjh is offline
VanDyke Customer Support
 
Join Date: Feb 2004
Posts: 811
Hello ungjinlee

There is an example script on the following web page called
"Read Data From Separate Hosts/Commands File And Log To
Individual Files" that shows you how to read data from a
file:

https://forums.vandyke.com/showthread.php?t=10365

Does this script help you to get started?

Thanks
JJH
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 11:42 AM.