Well, that had been too fast, but here's the /real/ solution:
Dim StrLine
Dim FSO
Dim TSO
Dim StrLineElements
Dim Index
Dim i
Dim Delimiter
Set FSO = CreateObject("Scripting.FileSystemObject")
Set TSO = FSO.OpenTextFile(".\test.ini")
Delimiter="="
Index = 1
Do While TSO.AtEndOfStream = False...
[SOLVED] Ooops, never ask: the solution is around the corner ;-)
While TSO.AtEndOfStream = False
StrLine = TSO.ReadLine
StrLineElements = Split(StrLine, Delimiter)
For i = LBound(StrLineElements) To UBound(StrLineElements)
next
' WScript.Echo (StrLineElements(0) & "=" &...
Hello!
I am looking for help with setting a variable from two other variables.
Here my current test.vbs (the attachment upload failed); the commented 'WScript.Echo' in line 28 works fine, but in line 29, I fail to set the variable - I assume because of a quoting or escaping mistake...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.