Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

Software >> OS >> Windows >> Scripting >> VBScript >> How to loop through files in a directory

sDir = "c:\winnt" Set fso = Wscript.CreateObject("Scripting.FileSystemObject") Set f = fso.GetFolder(sDir) Set fc = f.Files iCount = 0 For Each f1 in fc iCount = iCount 1 sFile = f1.name wscript.echo sFile Next
[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]