Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running a script from Explorer

Status
Not open for further replies.

PhillipFoster

Technical User
May 23, 2002
41
GB
I have a very repetetive task that I think I could automate - but having read a load of stuff about WSH and VBS I can't see a solution to.
I receive loads of faxes every week (up to 5000) in a zip file that I then have to print.
What I do at the moment is:
- extract them to a dir called "fax inbox"
- within explorer, select 10 files, right click and "print".
- once they're spooled, right click and "send to fax staging"
(a shortcut I created) then delete them from "fax inbox".
- once the files have printed I then delete them from the staging dir.

I have had problems when the printer fouls up which is why I hold them in a staging area until they've printed. It's also important that none are duplicated.

Can anyone suggest a solution?

Thanks - Phil.
 
This isn't really a vbs answer - probably not the most intelligent way of doing things either.....

Regarding the extraction - is PKZIP still out there? It's a zip unzip tool - a dos version of winzip you could say. You could set up a shell or a batch file to do that part of your task automatically.

As for reading the directory - a bit low tech - but you could do a dos dir of the directory and pipe it > to a file.

Now you have a file with all your fax files within it

You could then have a vbs script than opens and reads through the lines of this new file to get the name of the fax file, print the file and copy it to your staging area

Hope this helps...
 
Phllip,

Found this with WINZIP help.

Note: at the time of this writing, WinZip Self-Extractor 2.2 has not been released. If you order WinZip Self-Extractor 2.2 before it is released, you will receive WinZip Self-Extractor 2.1, and will be able to download a free upgrade to WinZip Self-Extractor 2.2 when it is released.
WinZip Self-Extractor 2.2 costs $49 for a license to create an unlimited number of re-distributable self-extracting Zip files on a single machine. Click here for information on the differences between WinZip Self-Extractor 2.2 and the Personal Edition included with WinZip®.

You can order WinZip Self-Extractor 2.2 online via the WinZip Self-Extractor Ordering Information web page at
You can also order WinZip Self-Extractor 2.2 by sending a check for $49 to WinZip Computing, Inc. at P.O. Box 540, Mansfield, CT 06268, USA. All payments must be in US funds drawn on a US bank. Shipping by postal mail is included in the $49 price. Be sure to include your name and your organization name.

Phone orders for WinZip Self-Extractor 2.2 can be placed through DigiBuy, a credit card ordering service. You can reach DigiBuy at 1-877-724-4600 (toll free; U.S. only) or 1-612-253-8488.

You can download a fully functional evaluation version of WinZip Self-Extractor 2.2 from the WinZip Self-Extractor web page at
Copyright © 1991-2000 by WinZip Computing, Inc. All rights reserved.



fengshui_1998
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top