Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting

Thread Tools Rate Thread Display Modes
Old 01-19-2010, 03:34 AM
jiangkaibo1987 jiangkaibo1987 is offline
Registered User
Join Date: Jan 2010
Posts: 1
how to get the fullname of the running vbsrcipt?

my english is not good . So who can help me ???
Reply With Quote
Old 01-19-2010, 12:15 PM
miked's Avatar
miked miked is offline
Registered User
Join Date: Feb 2004
Posts: 2,040

It is not currently possible to get the full name and path of a script that's running under SecureCRT. The reason is because SecureCRT doesn't currently provide an API to get at that data. Since it was SecureCRT.exe, not WScript.exe that loaded the script file for running, you can't get to WScript.ScriptFullName.

I have added your request to our product enhancement database so that we can consider adding ScriptFullName property in a future release. If added, we'll post a follow up message to this forum thread. For direct e-mail notification, please let us know and refer to forum thread 4788.
VanDyke Software
Technical Support

Last edited by jdev; 01-19-2010 at 01:17 PM.
Reply With Quote
Old 12-17-2010, 05:07 PM
Maureen's Avatar
Maureen Maureen is offline
VanDyke Product Director
Join Date: Feb 2004
Location: Albuquerque, NM
Posts: 1,563
The ability to get the script path has been added to the script API in a pre-beta version of SecureCRT. If you would be interested in trying it, please send e-mail to me at Maureen.Jett@vandyke.com.

Reply With Quote

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