VBScript Basics, Part 39 | Command Prompt (Arguments)

ثاقب
ثاقب
VBScripting (.vbs) Basic Tutorial On How-To: Use arguments in vbscript by passing values through the command prompt. You can cre ...
VBScripting (.vbs) Basic Tutorial On How-To: Use arguments in vbscript by passing values through the command prompt. You can create each argument in the command prompt (cmd.exe) and then use them in your script. Code Examples: ______________________________________________________ Option Explicit Dim args, arg, list Set args = WScript.Arguments If Not args.Count = 3 Then MsgBox "Not enough arguments. You need 3, and you have: " args.Count ,vbCritical WScript.Quit Else For Each arg In args list =

همه توضیحات ...