تماشای ویدئو VBScript Basics Part 51 Execute Read from another vbscript file. از آی-ویدئو

VBScripting (.vbs) Basic Tutorial On How-To: Use the Execute command to call / use other functions, subs, variables, etc.. from another vbscript file into the current one you are using. Code Example: ****************** Dim objFSO : Set objFSO = CreateObject("Scripting.FileSystemObject") Dim rVBFIL : Set rVBFIL = objFSO.OpenTextFile("FULL_OR_RELATIVE_PATH_TO_VBSCRIPT_FILE.vbs", 1) Execute rVBFIL.ReadAll() rVBFIL.Close ****************** Use multiple vbscript files in one. ***************
10 دی 1396
آی-ویدئو