Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting

Thread Tools Rate Thread Display Modes
Old 08-20-2006, 09:39 PM
samoki samoki is offline
Registered User
Join Date: Jun 2006
Posts: 24
[Help]How can use WSH in SecureCRT?

When I use sentence "WScript.ScriptFullName",error occur"Variable is not defined:WScript".It's standard sentence in VB script.How can I define it "WScript"? Help me,thanks.
Reply With Quote
Old 08-21-2006, 11:50 AM
tnygren's Avatar
tnygren tnygren is offline
Registered User
Join Date: May 2005
Posts: 1,408
Hi Samoki,

This is not a method that SecureCRT's script API currently supports.

Wscript.ScriptFullName is a function that the wscript.exe provides directly and is not available to SecureCRT.

Since wscript.* methods are not available to SecureCRT directly, I have entered a request to have a function like ScriptFullName added to the SecureCRT's scripting API.

If this is added, we will make a post here.

If you would prefer to be contacted via email, please send a message to support@vandyke.com with a subject of ATTN: Teresa Forum Thread 1618.


Teresa Nygren

Last edited by tnygren; 08-21-2006 at 02:52 PM.
Reply With Quote
Old 12-17-2010, 04:59 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 01:51 PM.