01 VBScript Objects view with PowerShell and Calling a function from another File
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=dFAd5yydU0o
http://stackoverflow.com/questions/66... • -------------------- • Set fso = CreateObject( Scripting.FileSystemObject ) • fullpath = C:\\Users\\Claudiu\\Downloads\\VbscriptFiles\\VB • Set fileRead = fso.OpenTextFile(fullpath \\sayHello.vbs ,1) • sFileContents = fileRead.ReadAll • fileRead.Close • Execute sFileContents • sayHello() • -------------------- • Function sayHello() • MsgBox Hello World!!! • End Function
#############################