Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Reply
 
Thread Tools Display Modes
  #1  
Old 05-04-2015, 07:12 AM
koenv koenv is offline
Registered User
 
Join Date: Feb 2010
Posts: 39
Opening SecureCRT session from CLI

Hi ,

I'm trying to open certain securecrt sessions from CLI.
Getting pretty close but I can't figure out what the actual 'session' is.

My securecrt layout is as follows:
sessions
- company folder 1
- folderlevel 2
- Device 1
- Device 2

That 'Device 1' then contains the connection details like protocol and hostname.

The command I'm using is:
securecrt /T /SESSION_FOLDER "company folder 1/folderlevel 2" /S "Device 1"

But whenever I try that it always complains "Device 1 was not found in the session Database" and then goes on to open every session inside that 'folderlevel 2' folder (including my 'Device 1' session).

So what should I use for the actual session?
Reply With Quote
  #2  
Old 05-04-2015, 08:22 AM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,306
Hi koenv,

The /SESSION_FOLDER option opens all of the sessions in the specified folder, and is not normally used in conjunction with the /S option.

If you want to open a single session, you would provide the relative path to the session. The path is relative to the Sessions folder in the Session Manager/Connect dialog.

Here is an example of how to open Device 1:
/S "company folder 1\folderlevel 2\Device 1"
Does this help you accomplish your goal?
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730

Last edited by jdev; 05-04-2015 at 08:47 AM.
Reply With Quote
  #3  
Old 05-04-2015, 08:54 AM
koenv koenv is offline
Registered User
 
Join Date: Feb 2010
Posts: 39
Thanks.. works like a charm now!
Reply With Quote
Reply


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 09:46 AM.