View Single Post
  #2  
Old 08-20-2009, 08:53 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,295
Hi Charles,

What version of SecureCRT are you using?

As of SecureCRT 5.5, the ability to launch a set of sessions by specifying folders or multiple sessions as auto sessions was added. This is in the 'General / Default Session' category of Global Options.

In the session(s), you would then need to specify your script in the 'Connection / Logon Actions' (previously 'Logon Scripts') category of Session Options.

If using a version prior to SecureCRT 5.5, I would suggest a slightly modified approach.

You could launch SecureCRT with the "/script" argument in Scheduled Tasks and within your script, connect to the desired session with obj.Session.Connect "/S <session_name>".

Will one of the above methods help to accomplish your goal?
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote