Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04-05-2012, 08:43 AM
inbalz inbalz is offline
Registered User
 
Join Date: Apr 2012
Posts: 4
How to run script from Telnet using secureCRT?

Hi,
I have a script(.txt) that I can run on secureCRT.
I need to run the script on secureCRT from Telnet.
Which command I should write on Telnet to run the script?

I'm using Windows7.

Erin
Reply With Quote
  #2  
Old 04-05-2012, 09:12 AM
miked's Avatar
miked miked is offline
Registered User
 
Join Date: Feb 2004
Posts: 2,039
Hello Erin,

I'm not sure I understand what you meant by running the script "on Telnet".

Do you mean you need to use the Telnet protocol?

Does the script contain any sensitive information, or is it something that you could post here? This is a public forum so please don't post sensitive information (such as username, password, IP address, hostname, etc.) to our forum.
__________________
Mike
VanDyke Software
Technical Support
[http://www.vandyke.com/support]
Reply With Quote
  #3  
Old 04-08-2012, 01:14 AM
inbalz inbalz is offline
Registered User
 
Join Date: Apr 2012
Posts: 4
I am using an external application, this app needs to run a script using secureCRT.
the app can use the cmd.
Is there a way to do that? to start the secureCRT and run a script via the cmd?
Reply With Quote
  #4  
Old 04-09-2012, 11:02 AM
miked's Avatar
miked miked is offline
Registered User
 
Join Date: Feb 2004
Posts: 2,039
Does the external application need to drive SecureCRT through the script (are you looking for an API interface to SecureCRT so that you can connect through the external application)?

Or, do you just want to launch SecureCRT and have it start a script?

The SecureCRT Help file discusses the command line options, including /Script. In Help / Contents tab / Using the Software / Command-Line Options, look for Table of Standard Command-Line Options.
/SCRIPT filename Runs script contained in filename.
"C:\Program Files\VanDyke Software\Clients\SecureCRT.exe" /Script "C:\Path\MyScript.vbs"
__________________
Mike
VanDyke Software
Technical Support
[http://www.vandyke.com/support]
Reply With Quote
Reply

Tags
from telnet , run , script

Thread Tools
Display Modes

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 06:21 PM.