View Single Post
  #7  
Old 12-10-2004, 08:07 AM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
 
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 971
Quote:
Whaouw... People around me are people managing live Tru64 or Sun Clusters and are those kind of Guru who don't like when you ask the to create a c:\temp because I can't manage it another way. That's the easiest way for sure but I'm looking for another one.
The following VBScript code snippet retrieves the path to a user's "My Documents" folder. Does this not help avoid the need to have a "C:\Temp" folder created?
Dim szDocsFolder, g_shell
Set g_shell = CreateObject("WScript.Shell")
szTempFolder = g_shell.SpecialFolders("MyDocuments")
Quote:
Whaouw That is tricky. I thought you would give me a way to get it from the registry or from a system call...
Unfortunately, the fullpath to the script being run [while it is running] is not currently exposed by SecureCRT in any way.

Quote:
If you can implement the FullPath into a future version of SCRT, that would be nice.
I've submitted the request to the product manager. If the decision is made to add this to a future version, we'll let you know.

--Jake
__________________
Jake Devenport
VanDyke Software
Technical Support
YouTube Channel: https://www.youtube.com/vandykesoftware
Email: support@vandyke.com
Web: https://www.vandyke.com/support
Reply With Quote