vpnsol123
asked on
VBScript to print and move files
I need a VBScript that will send all text files in a specified folder to the default printer. Once each document is printed, I need that document moved to a "processed" folder.
ASKER
It did error. It moved the files but had an issue printing them. If there were a way to queue them all up first, that would work.
Thanks,
Thanks,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
cscript ee29097954.vbs
I'm not sure if moving the files immediately after they have been queued for printing will work, there's a chance that moving them before they finish printing make cause a problem, don't know so test it out. I don't know an easy way to check the print queue to know when each file finishes printing...
An alternate approach would be to queue them all for printing, then pause the script and when the user sees they all printed, have them "press any key to continue" and then move all the files then.
Open in new window
»bp