Asked on Super User by asiawatcher, 5 years ago. No reply there for at least a week.
vbs printing script problems
Hi all i got some problems with this vbs script set shApp = CreateObject( shell.application ) currentPath = CreateObject( Scripting.FileSystemObject ).GetAbsolutePathName( . ) set shFolder = shApp.NameSpace( currentPath ) set files = shFolder.Items() for each files in files if files.name 2 then 'msgbox( printing files.name) files.InvokeVerbEx ( Print ) end if next This is supposed to print all the files within the scripts folder BUT it also prints the script's source code, i dont want to print the vbs script itself only the other files how do i do this ? what am i doing wrong ?? 2 is the file
This question is one of 2 reports of the same problem:
Problems printing to a plotter
Nobody has answered it yet, here or anywhere.
Others who asked the same thing
- Problems printing to a plotterSuper User, 5 years ago
Related problems
Question by asiawatcher on Super User, licensed CC BY-SA. We show a short excerpt and link to the original thread as credit.