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

Different Script tasks in one vbs file

Status
Not open for further replies.

Keithc71

MIS
Dec 3, 2006
13
0
0
US
How would I go about adding multiple scripts to one file? Like say I want one section to map my drives then another to delte temp files then the last part of the script to map printers all within the same vbs script? Is there a seperator that i need to place after my script blocks?
 
You don't need any separators, but putting things into their own functions/subs is something you should definitely consider.

--------------------------------------------------------------------------------
dm4ever
My philosophy: K.I.S.S - Keep It Simple Stupid
 
Great stuff here guys I appreciate it,very helpful marcdmac
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top