Thanks guitarzan - great points that I can understand.
I think this also revealed my lack of knowledge with 'for each' because I was still wondering (and kind of still am) why you can just throw a variable after 'For each...' without having previously declared it in the normal 'Dim' fashion. Is...
Hi all
I'm brand new to VBScript, but came across this forum during my search for help on finding a way to copy a file automatically.
Anyway, I found that (thanks to people here), but I'm curious about one thing. Why is it, in this portion of code:
for each g in ofolder.files
if...
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.