for /F %1 in (filename.text) do echo %1
on a command line will process each line of text in a file (and echo it)
to do it in VBScript is a little harder, but gives you more flexibility.
dim oFSO : set oFSO = createobject("scripting.filesystemobject")
dim oFile : set oFile = oFSO.OpenTextFile("test.txt",1)
while not oFile.AtEndOfStream
will read the file line by line,
set oFSO = createobject("scripting.filesystemobject")
data = oFSO.OpenTextFile("test.txt",1).readall
data = Split(data,vbCrLf)
For Each item In data
will read the whole file, split it by line feeds and output it (probaby faster as there are less reads)
Finally, can't you use "*" as a group name? I know that works with some commands - not sure about the cleanup ones though.
Unfortunatley the * wild card doesnt work with this one. Thanks for the info though. Ill give them a shot.