I found this: http://blogs.msdn.com/b/oldnewthing/archive/2003/12/10/56028.aspx
But your best bet is to test it out yourself. Try calling it with an insanely long string, then in your vb script output the string, or output the string's length. I don't think you are going to have a problem with file path lengths.
a.vbs
Dim objShell
Set objShell = Wscript.CreateObject("WScript.Shell")
Dim arguments
For i = 1 To 6540
arguments = arguments & LPad(i,4,"0") & ","
Next
objShell.Run "b.vbs " & arguments
' Using Set is mandatory
Set objShell = Nothing
Function LPad(s, l, c)
Dim n : n = 0
If l > Len(s) Then n = l - Len(s)
LPad = String(n, c) & s
End Function
b.vbs
WriteString "C:\temp\vbscripttest\c.txt",WScript.Arguments.Item(0)
Function WriteString( filename, contents )
Set objFileToWrite = CreateObject("Scripting.FileSystemObject").OpenTextFile( filename,2,true)
objFileToWrite.WriteLine(contents)
objFileToWrite.Close
Set objFileToWrite = Nothing
End Function
It maxed out at 6540 * 5 characters = 32700. You can play around with it more if you want. If I put 6541, I got:
Windows Script Host
Script: C:\temp\vbscripttest\a.vbs
Line: 9
Char: 1
Error: The filename or extension is too long.
Code: 800700CE
Source: (null)
OK