set shApp = createobject("shell.application")
set shFolder = shApp.namespace("c:\_temp")
msgbox typename(shFolder)
set shItems = shFolder.Items()
for each shItem in shItems
shItem.invokeverb "&Print"
next
For localized versions of Windows, the text for the "verb" matches what is displayed on the context
menu in Windows Explorer. The & marks the character underlined...
--
Michael Harris
Microsoft.MVP.Scripting
--
mik...@mvps.org
Please do not email questions - post them to the newsgroup instead.
--
"Chris Peel" <chris...@solect.com> wrote in message news:#x5K8b$jAHA.2080@tkmsftngp05...
Set fso = CreateObject("Scripting.FileSystemObject")
Set Shell = CreateObject("Wscript.Shell")
Set f = fso.GetFolder("C:\MyFolder" )
Set fc =
f.Files
For Each f1 in fc
if
lcase(right(f1.name, 4)) = ".txt" then
"Chris Peel" <chris...@solect.com> wrote in message news:#x5K8b$jAHA.2080@tkmsftngp05...