RRRSystems Posted September 5, 2013 Share Posted September 5, 2013 Hello, I have a similar post in this forum, I may have asked my question incorrectly. I have a file "C:RRRSystemsScriptIncludeClass.Script.vbs." how can I get this file name from a Subroutine within the script itself. The file is an Include in a file "C:RRRSystemsScriptX-Testing.wsf" <job id = "X-Testing.wsf"> <script language = "VBScript" Src = ".Include/Class.Script.vbs"/></job> If I use WScript.ScriptName or WScript.ScriptFullName in the file "C:RRRSystemsScriptIncludeClass.Script.vbs." it returns the name of the .wsf "C:RRRSystemsScriptX-Testing.wsf". Perhaps because it is an included file. Any Ideas? Thanks, Raney Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now