DanClark86
MIS
I have a CD rom that has 500 directories. Each Directory has 100 Tiff files in each. I am trying to write a script to go though each direcotry to print the files in it. i came up with this, but for some reason it dose not print, Can someone take a look and tell me what i am doing worng?
Thanks,
Thanks,
Code:
Set FSO = CreateObject("Scripting.FileSystemObject")
Set objShell = CreateObject("Shell.Application")
TargetFolder = FSO.GetFolder("C:\00")
Set objFolder = objShell.Namespace(TargetFolder)
Set colItems = objFolder.Items
Sub ShowSubFolders(Folder)
For Each objFile In Folder.Files
colItems.Item(i).InvokeVerbEx("Print")
next
end sub