Created
July 31, 2012 22:15
-
-
Save bouzuya/3221136 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Sub Import(ByVal strFileName) | |
Const ForReading = 1 | |
Dim objFso, objFile | |
Set objFso = WScript.CreateObject("Scripting.FileSystemObject") | |
Set objFile = objFso.OpenTextFile(strFileName, ForReading, False) | |
ExecuteGlobal objFile.ReadAll() | |
objFile.Close() | |
End Sub | |
Call Import("string.vbs") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment