Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > General

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 08-24-2016, 02:45 AM
kingboli kingboli is offline
Registered User
Join Date: Aug 2016
Posts: 5
Smile Help on using command line to create a session and run scripts in the session

I want to use command-line to auto create a session and then auto run a script in this session. But there is an error about parameter "/SCRIPT" when I use below command in a bat file:

"C:\Users\AppData\Local\VanDyke Software\SecureCRT\SecureCRT.EXE" /SERIAL COM5 /BAUD 115200 /SCRIPT test.py

What should I do to auto create a session and then auto run a script? I do not want any manual settings and operations.

My SecureCRT version is 7.3 and the beginning lines of my script are:

def main():

crt.Screen.Synchronous = True

Reply With Quote

script , session connect

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
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 11:16 PM.