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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loop through folders on cd printing docs

Status
Not open for further replies.

snurd3

IS-IT--Management
Jun 30, 2001
1
US
I've done a lot fo programming in VB and VBA, but just looked at VBScript for the first time today. I'm trying to create a simple procedure to do the following: Loop through all of the folders on a CD, printing each document. The docs may be .pdf, .doc. or CAD. In VB, I think i would jsut create a nested loop. But, there are some things about vbscript that I don't understand. How would I invoke the script, once it is written? Do I save it in a vbs file? Is it written in a text editor. Basic things, I know, but need them to get started. Also, is the syntax for looping through a file system the same as in VB?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top