Posts Tagged ‘include’

VBScript Includes

Thursday, May 28th, 2009 by Jeffery Hicks
I've been using VBScript for a very long time. One drawback it has always had as a scripting language is an INCLUDE statement. In other languages you can use something like INCLUDE scriptfile at the beginning of the script. This would load any functions and variables in the specified script file into your current script. In PowerShell we can accomplish this by dot sourcing scripts. I never knew of a way to do the same thing with VBScript until now.   More »

INCLUDE in PowerShell

Tuesday, April 8th, 2008 by Don Jones
I recently had a couple of administrators who were upset that PowerShell doesn't have a way to "include" files in a script. Basically, the idea…   More »


Entries (RSS) and Comments (RSS).