Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting

Closed Thread
Thread Tools Rate Thread Display Modes
Old 08-02-2012, 04:44 PM
miked's Avatar
miked miked is offline
Registered User
Join Date: Feb 2004
Posts: 2,040
Post Example: Import Arbitrary Data From File To SecureCRT Sessions

This example shows how to create sessions from information in a text file (.csv format by default, but this can be edited to fit the format you have).

Note: This script will only work with SecureCRT version 7.2 and later.

Watch this YouTube video if you're having troubles understanding what this script does, or how to go about using it.

.py version last updated: 29 Oct, 2018
.vbs version last updated: 29 Oct, 2018

Last edited by jdev; 10-29-2018 at 05:29 PM. Reason: Update Last Mod'd date for vbs and py versions to 29 Oct, 2018
Old 07-01-2020, 10:57 AM
bgagnon bgagnon is offline
VanDyke Technical Support
Join Date: Oct 2008
Posts: 4,574
Hi all,

Please note that if you get an error when running the script, such as:
Error: Unknown field designation: description
Error: Unknown field designation: hostname
The extra characters seen above () are a result of the text file being saved with Unicode encoding. This script is only able to read ANSI file encoding at this time.

Please reopen the source data file in your favorite editor and change the encoding to ANSI and save the file. For backup purposes, you may wish to save this change under a different name.

Once you have your newly saved, ANSI-encoded text file, please attempt to run the script using the new file.

VanDyke Software
Technical Support
(505) 332-5730
Closed Thread

example script

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 08:18 PM.