<< How do I get parameters with the batch file passed into the VBS program? >> The scripting host will parse out the parameters it received when the VB script was called. You can access them via WScript.Arguments(0), WScript.Arguments(1) and so on.
Exactly how the parameters get passed is an internal issue for R:Base and exactly how they're passed is an internal issue for the scripting host. However, from your command line, I'd guess you'd get: WScript.Arguments(0) = C:\DosPrograms\Attrib.BAT WScript.Arguments(1) = I: WScript.Arguments(2) = -R:|H but I could be wrong. You can generally improve the clarity of command line argument parsing by surrounding each argument in double-quote characters. -- Larry

